asmcrypto / asmcrypto.js

JavaScript Cryptographic Library with performance in mind.
MIT License
661 stars 182 forks source link

AES ECB should be only used on real random AES size blocks. #139

Closed alippai closed 6 years ago

alippai commented 6 years ago

No padding, no not stretched messages. Only derived messages or randoms at the exact block size.

Agusnez commented 6 years ago

Why? 😱 I need my padding back!! How I'm suppose to use ECB without padding? I don't care about security, I need it just for educational purposes.

alippai commented 6 years ago

I'm working on an API rewrite, there are several issues with the current one :/ The update comes in the next few weeks :)