Comments (3)
Same here.
DES decryption got different results, in CryptoJS I got the correct result, in CryptoES I need to split the encrypted HEX string to get the correct result.
With CryptoJS
https://codepen.io/brownsugar/pres/OJjJPYY?editors=0012
With CryptoES
https://codesandbox.io/s/cryptoes-des-decryption-zt4cs
from crypto-es.
@entronad is there any update on this?
from crypto-es.
This issue has been fixed in v2.0.0;
The blockSize
should be an instance field not a static field so that it can be correctly overridden and called. this matters in ES6 class so the definition should differ from CryptoJS.
This issue only affected TripleDes / Des.
from crypto-es.
Related Issues (20)
- openssl
- not working with openssl HOT 1
- Testing with Jest HOT 5
- Unable to ng-build-prod
- Hashing/Decrypting bug HOT 1
- Cannot find declaration file for module 'cryptoES/lib/RC4' HOT 1
- Utf8 isn't exported in CryptoES, but is in CryptoJS, however it seems to exist when called like CryptoES.enc.Utf8 HOT 1
- Error in Electron: "Must use import to load ES Module" HOT 1
- ReferenceError: window is not defined when importing CryptoES with the newer 2.0.0 version HOT 10
- Falling back to `Math.random()` even if polyfill is used HOT 3
- TS Error: keySize does not exist in type 'CipherCfg' HOT 2
- [Query]: Can we encrypt using `crypto-js` library and decrypt using `crypto-es` library? HOT 1
- Please enable private disclosures ASAP HOT 4
- TypeError: wordArray.clamp is not a function HOT 3
- TypeError: wordArray.clamp is not a function #41
- AES encrypt is very slow. HOT 2
- TripleDES decryption compatibility issues with CryptoJS HOT 1
- Problem in encrypting/decrypting multiple values at the same time
- Unable to pass in WordArray as key to AES.encrypt
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crypto-es.