EOSIO / eosjs-ecc

Elliptic curve cryptography functions: Private Key, Public Key, Signature, AES, Encryption, Decryption
288 stars 119 forks source link

the aes api is not easy to use, consider to enhance it ? #23

Closed crazybits closed 6 years ago

crazybits commented 6 years ago

too much infor is required for existing aes api ,can we enhance to something like:

cipher_text =encrypt(password,plain_text) plain_text= decrpt(password,cipher_text)

jcalfee commented 6 years ago

I probably need to deprecate these. They use to be used for memo encryption but we don't have support for this in nodeos .. Until we have a usage and a standard I can't say that these will stick around.

crazybits commented 6 years ago

@jcalfee thanks for the infor, i am using crypto-js now as a alternative to encrypt and decrypt the private key