You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 5, 2022. It is now read-only.
Hi,
Is there a way to store the private key object in a javascript session? I've tried JSON.stringify, but when I parse the object, the decryption fails. The object seems to lose part of the object.
Thanks,
Jason
The text was updated successfully, but these errors were encountered:
Thanks for the response! I will have to give that a try. I was able to get a work around by using a window object with the window dot format
e.g.
var privateKey = cryptico.generateRSAKey(passPhrase, bits);
window.privateKey = privateKey;
and then use the window.privateKey in another function when called in the session.
Not sure if one is better or more secure than the other.
Hi,
Is there a way to store the private key object in a javascript session? I've tried JSON.stringify, but when I parse the object, the decryption fails. The object seems to lose part of the object.
Thanks,
Jason
The text was updated successfully, but these errors were encountered: