Home
Crypt  :: pure-ruby cryptographic cyphers

The Crypt library is a pure-ruby implementation of a number of popular encryption algorithms. Block cyphers currently available include Blowfish, GOST, IDEA, and Rijndael (AES). Cypher Block Chaining (CBC) has been implemented. Twofish, Serpent, and CAST256 are planned for release soon.

Crypt is written entirely in ruby so deployment is simple - no platform concerns, no library dependencies, nothing to compile.

Performance is what you would expect from a pure-ruby implementation: it is adequate for shorter messages but I wouldn't try to encrypt my whole disk with it. If performance is critical then you might want to try ezcrypto's interface to OpenSSL.

News

Version 1.1.4 released

Thanks to some prodding from users of this library, we are pleased to announce that version 1.1.4 has been released (available on the Download page). This release includes a fix to Blowfish and more thorough unit tests for all cyphers.

Version 1.0 released

The project has been registered and version 1.0 released (go to Download page). The code is classified as beta - it appears to work but has not yet been extensively tested against the published reference tests. Release 1.1 will include more thorough test suites.