ethers-io / ethers.objc

Fast, simple and complete library for Ethereum in Objective-C.
MIT License
157 stars 57 forks source link

Can't generate keystore! aes encryption failed #35

Open yjy1633363884 opened 2 years ago

yjy1633363884 commented 2 years ago

AES_RETURN aesStatus = aes_ctr_encrypt([_privateKey bytes], [cipherText mutableBytes], (int)_privateKey.length, counter, &aes_ctr_cbuf_inc, &context); if (aesStatus != EXIT_SUCCESS) { sendResult(nil); return; } Cause failure!

Senxik commented 2 years ago

&aes_ctr_cbuf_inc, - ?