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

TwoFish implementation for CryptoJS #50

Open
GoogleCodeExporter opened this issue Apr 3, 2015 · 4 comments
Open

TwoFish implementation for CryptoJS #50

GoogleCodeExporter opened this issue Apr 3, 2015 · 4 comments

Comments

@GoogleCodeExporter
Copy link

I have ported an implementation of the TwoFish algorithm from BouncyCastle to 
CryptoJS here:

https://github.com/mitchellrj/KeePassJS/blob/master/bouncycastle/twofish.js

It is under the MIT license, so if this fits with your current New BSD license, 
please feel free to include it in your next release.

Original issue reported on code.google.com by richard....@gmail.com on 18 Sep 2012 at 9:22

@GoogleCodeExporter
Copy link
Author

Original comment by Jeff.Mott.OR on 18 Sep 2012 at 9:43

  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect

@GoogleCodeExporter
Copy link
Author

how to implementatin on add-ons mozilla firefox?

Original comment by riza.arm...@gmail.com on 14 Aug 2013 at 2:24

@GoogleCodeExporter
Copy link
Author

Ok, there is a bug in your version

k64Cnt = this._key.words.length / 2;

this counts "dead" bytes in the key

you should use something like that:

k64Cnt = this._key.sigBytes / 8;



Original comment by likha...@gmail.com on 7 Dec 2013 at 5:47

@GoogleCodeExporter
Copy link
Author

Fixed. Thanks for your feedback!

Original comment by richard....@gmail.com on 9 Dec 2013 at 4:07

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

No branches or pull requests

1 participant