Closed frgt10cs closed 5 years ago
I try to encrypt message var x = cryptico.encrypt("mytext",cryptico.publicKeyString(staticKeys.RSA)); where staticKeys.RSA is RSAKey And i get error:
var x = cryptico.encrypt("mytext",cryptico.publicKeyString(staticKeys.RSA));
staticKeys.RSA
aes.js:131 Uncaught TypeError: Cannot read property '177' of undefined at Object.my.MixColumns (aes.js:131) at Object.my.Encrypt (aes.js:86) at Object.my.encryptAESCBC (cryptico.js:3395) at Object.my.encrypt (cryptico.js:3493) at HTMLButtonElement.CreateKeysAsker.generator.onclick (script.js:162) my.MixColumns @ aes.js:131 my.Encrypt @ aes.js:86 my.encryptAESCBC @ cryptico.js:3395 my.encrypt @ cryptico.js:3493 CreateKeysAsker.generator.onclick @ script.js:162
What's wrong?
I try to encrypt message
var x = cryptico.encrypt("mytext",cryptico.publicKeyString(staticKeys.RSA));
wherestaticKeys.RSA
is RSAKey And i get error:What's wrong?