Open bhagyachaudhari opened 3 years ago
I want to encrypt using RSA_OAEP_SHA256 at JavaScript side
var encrypted = asmCrypto.RSA_OAEP_SHA256.encrypt(stringToBeEncrypted, pubkey, ""); getting error: Uncaught TypeError: Cannot read property 'encrypt' of undefined
var encrypted = asmCrypto.RSA_OAEP_SHA256.encrypt(stringToBeEncrypted, pubkey, "");
Do you know the solution or any example that would help? Thanks.
I want to encrypt using RSA_OAEP_SHA256 at JavaScript side
var encrypted = asmCrypto.RSA_OAEP_SHA256.encrypt(stringToBeEncrypted, pubkey, "");
getting error: Uncaught TypeError: Cannot read property 'encrypt' of undefinedDo you know the solution or any example that would help? Thanks.