AESCryptLz strikes back ;-)
My last post about AESCryptLz got real good feedback. As I’m trying out a lot of different encryption algorithms, there is the next one. But this is only a pre-version of the upcoming pack of AESCryptLz. It doesn’t include an example for Java and it’s not really commented. But you can use it anyway, because it’s doing its job.
To be done:
- Java backend example
- Better documentation
- Implementation of MD5 checksums to provide encoding via password
- Bug fixes (?)
The new Version of AESCryptLz is based on the set of JavaScript functions developed by Chris Veness and it’s released under the LGPL. Thanks a lot to him, for his great work.
In detail, it uses the AES/CTR algorithm without padding. The class generates encrypted byte-arrays and also needs byte-arrays to decrypt them. I’m not using HEX-Strings anymore, because it’s much faster, when I’m doing this calculations without any converting. As I’m using Red5 for the backend, it’s really easy to send and get byte-arrays. But I’ll explain how, next week.
Also I’ve implemented a way to encrypt using LzIdle. So you can use it to en-/decrypt things in backgrund. The used vector is stored in the first 8 bytes of the generated byte-array. The following bytes are the encrypted text. So it also needs the used vector in the first 8 byte, if you want to decrypt a byte-array, generated by other algorythms.
Here are the files:
- Example application
- Sourcecode: aes.lzx (2009-07-06)
- Example application sourcecode: aescryptlz2.lzx (2009-07-06)
I think I am on a good way with this class. It’s faster and much smaller than the last one.
So stay tuned for any updates.

This sounds very good! I’ll be glad to link your AESCryptLz on the Italian community as soon as it will be ready for the first release.
I’m sure it will be a success