Skip to content
This repository has been archived by the owner on Feb 7, 2023. It is now read-only.

Uncaught TypeError: Cannot read property 'encrypt' of undefined #185

Open
bhagyachaudhari opened this issue Jul 1, 2021 · 0 comments
Open

Comments

@bhagyachaudhari
Copy link

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

Do you know the solution or any example that would help?
Thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant