-
Notifications
You must be signed in to change notification settings - Fork 985
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is this project maintained? #435
Comments
No. It is also very slow. |
@paulmillr any alternatives for elGamal-ecc with high speed on js? |
@CashCode for elgamal nothing i'm aware of; for ecc noble-curves |
How about a RequireJS-compatible alternative for AES and Base64? I like the simplicity of sjcl's
|
no require.js, but https://github.com/paulmillr/micro-aes-gcm import { base64 } from '@scure/base';
import * as aes from 'micro-aes-gcm';
const message = 'Hello world';
const ciphertext = await aes.encrypt(key, aes.utils.utf8ToBytes(message));
const plaintext = await aes.decrypt(key, ciphertext);
console.log(aes.utils.bytesToUtf8(plaintext) === message);
const encoded = base64.encode(ciphertext);
const decoded = base64.decode(encoded); |
Thanks @paulmillr! My use case involves NetSuite SuiteScript which sadly does not support require/import/module. For anyone in a similar rare situation, here's a recap of my research of popular crypto libraries in case it's helpful: sjcl crypto-js aes-js No support for RequireJS/AMD/UMD
Obsolete/Archived projects:
Not considered: hashing-only libraries, like BCrypt, with no decrypt capability |
This project seems like a promising option for JavaScript cryptography; however, I notice that the latest release is from 4 years ago and the latest commit is from 3 years ago, and most recent issues on the tracker have received no comments.
Given how critical active maintenance is for security-sensitive projects (e.g. cryptographic libraries), is it safe to use this library in a production application?
The text was updated successfully, but these errors were encountered: