This repository has been archived by the owner on Dec 23, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 73
AES result is different with aes-js or nodejs #154
Comments
DId you take a look at this example? #111 |
I had the same problem |
Do not use SHA-256 encryption
The result with pointycastle is:
|
@raodaqi Thanks. |
i have used the above code to encrypt on js |
Here my code on the flutter dart I used to decode and encode. It's okie |
const decryptByAES = (message, keyRSA) => {
}; here my code decrypt use AES |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
AES/CBC/PKCS7 in pointycastle:
The result with pointycastle is:
encrypt with aes-js
AES-JS: https://github.com/ricmoo/aes-js
The result with aes-js is:
encrypt with nodejs
Crypto in Nodejs: https://nodejs.org/api/crypto.html
The result with nodejs:
It is same with aes-js.
The text was updated successfully, but these errors were encountered: