[crypto] preview now in the vault

Hello, I uploaded a crypto library to the vault http://boost-consulting.com/vault/index.php?action=downloadfile&filename=crypto_v01.zip&directory=& which provides some cryptographic primitives. Message Digest algorithms: MD4, MD5, RIPEMD128, RIPEMD160, RIPEMD256, RIPEMD320, SHA-1, SHA-224, SHA-256, SHA-384, SHA-512 Message Authentication Code: HMAC Block Ciphers: Blowfish, Rijndael Block Cipher Modes: Electronic Code Book Mode, Cipher Block Chaining Mode Padding Modes : Zero padding, One and zeros padding Stream Cipher: RC4 Example - construction of a blowfish cipher in CBC mode with zero padding: typedef boost::crypto::block_cipher< boost::crypto::blowfish_cipher, boost::crypto::cbc_mode, boost::crypto::zero_padding
my_cipher;
The documentation is quite incomplete, no examples are provided. Please have a look at the test directory to see these things in action. The reason I'm posting this now is that I don't think I will have enough time in the near future to spend on this code. The code which exists now is good though, I still have some todos in my head but it's usable as it is. Kevin Sopp

-----Original Message----- From: boost-bounces@lists.boost.org [mailto:boost-bounces@lists.boost.org] On Behalf Of Kevin Sopp Sent: 12 September 2007 21:48 To: boost@lists.boost.org Subject: [boost] [crypto] preview now in the vault
Hello,
I uploaded a crypto library to the vault http://boost-consulting.com/vault/index.php?action=downloadfile &filename=crypto_v01.zip&directory=& which provides some cryptographic primitives.
Message Digest algorithms: MD4, MD5, RIPEMD128, RIPEMD160, RIPEMD256, RIPEMD320, SHA-1, SHA-224, SHA-256, SHA-384, SHA-512
Message Authentication Code: HMAC
Block Ciphers: Blowfish, Rijndael
Block Cipher Modes: Electronic Code Book Mode, Cipher Block Chaining Mode
Padding Modes : Zero padding, One and zeros padding
Stream Cipher: RC4
Example - construction of a blowfish cipher in CBC mode with zero padding:
typedef boost::crypto::block_cipher< boost::crypto::blowfish_cipher, boost::crypto::cbc_mode, boost::crypto::zero_padding
my_cipher;
The documentation is quite incomplete, no examples are provided. Please have a look at the test directory to see these things in action. The reason I'm posting this now is that I don't think I will have enough time in the near future to spend on this code. The code which exists now is good though, I still have some todos in my head but it's usable as it is.
This looks a most valuable library in the making - but needs a modest amount more work to be Boostable. Some more work on the docs - already in Quickbook format. I didn't spot test in using the Boost.test structure. And examples for the Cryptogrpahically challenged would make this much more widely useful. Would this be a good GSoC project for someone next year? Paul --- Paul A Bristow Prizet Farmhouse, Kendal, Cumbria UK LA8 8AB +44 1539561830 & SMS, Mobile +44 7714 330204 & SMS pbristow@hetp.u-net.com

Hi Paul,
I didn't spot test in using the Boost.test structure.
What do you mean by that?
And examples for the Cryptogrpahically challenged would make this much more widely useful.
I plan on providing examples.
Would this be a good GSoC project for someone next year?
Sure, this is the kind of library that can be enhanced incrementally. Public Key Cryptography would be a submission that I'd like to see. Kevin

-----Original Message----- From: boost-bounces@lists.boost.org [mailto:boost-bounces@lists.boost.org] On Behalf Of Kevin Sopp Sent: 13 September 2007 17:54 To: boost@lists.boost.org Subject: Re: [boost] [crypto] preview now in the vault
I didn't spot tests using the Boost.Test structure.
What do you mean by that?
I didn't mean it, but I see it means I didn't look carefully enough! :-(( Sorry. Paul --- Paul A Bristow Prizet Farmhouse, Kendal, Cumbria UK LA8 8AB +44 1539561830 & SMS, Mobile +44 7714 330204 & SMS pbristow@hetp.u-net.com
participants (2)
-
Kevin Sopp
-
Paul A Bristow