Smugrik
Smugrik

Reputation: 850

Is there an ActionScript library for Twofish Encryption/decryption

Do you know a library in ActionScript 3 that can encrypt and decrypt using the TwoFish algorithm?

I have been using as3crypto for other cryptographic algorithms, but unfortunately, it doesn't seems to handle Twofish...

Thanks!

Upvotes: 3

Views: 312

Answers (2)

Todd Moses
Todd Moses

Reputation: 11039

Twofish was Bruce Schneier's entry into the competition that produced AES. It was judged as inferior to an entry named Rijndael, which was what became AES.

However, there is a third-party encryption library for ActionScript that includes AES.

http://code.google.com/p/as3crypto/

Upvotes: 1

Austin Henley
Austin Henley

Reputation: 4633

Unfortunately, I do not believe there is. I did a light search a little while back looking for such a library but there was not much. What I had planned on doing and what seems to be your best option, is to possibly roll your own? There are plenty of examples of implementation of the cipher that you can find through Google. I would go by a C# example and convert it over. Let us know if you do that so others can use it!

Upvotes: 1

Related Questions