Skip to content
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 still maintained? #450

Open
ghost opened this issue Feb 17, 2023 · 8 comments
Open

is this still maintained? #450

ghost opened this issue Feb 17, 2023 · 8 comments

Comments

@ghost
Copy link

ghost commented Feb 17, 2023

No description provided.

@mahnunchik
Copy link

I have the same question.

@B0tCreati0n
Copy link

it is 2 years ago that it was last updated sooo. NO

@windsurfer1122
Copy link

windsurfer1122 commented Jul 10, 2023

No new maintainer for the npm package: https://www.npmjs.com/package/crypto-js
And with 2.8k forks finding a well maintained one is difficult.
Didn't find a good alternative yet.
For node.js most people use the standard crypto module.

Best would be a team (GitHub "organization") creates a fork and takes over.

@entronad
Copy link
Contributor

Maybe you could try CryptoES.
Its APIs are all the same with CryptoJS, and with a better support for TypeScript.

@ghost
Copy link
Author

ghost commented Jul 11, 2023

@entronad

That's a great find, thanks very much!

@WhereJuly
Copy link

WhereJuly commented Sep 10, 2023

Besides CryptoES looks rougly 4 times faster for AES encrypt / decrypt on a development machine AMD Ryzen 7 5800H, Win 10 Node 18 LTS. The JSON is ~400 bytes length.

// The encryption takes ~50 microseconds on CryptoES and ~200 microseconds on CryptoJS
const str = JSON.stringify(fixture);
const ciphertext = CryptoES.AES.encrypt(str, secret).toString();

// The decryption + JSON.parse takes ~40 microseconds on CryptoES and ~150 microseconds on CryptoJS
const bytes = CryptoES.AES.decrypt(ciphertext!, secret);
const str = bytes.toString(CryptoES.enc.Utf8);
const json = JSON.parse(str);

@ghost
Copy link
Author

ghost commented Sep 11, 2023

Yes I've since moved to CryptoES, thanks @WhereJuly

@kriit24
Copy link

kriit24 commented Nov 8, 2023

I`ve moved to CryptoES, but it is just as slow with 8MB base64 string encrypting

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

No branches or pull requests

6 participants