Branch: Tag:


2013-10-21 21:47:32 by Henrik Grubbström (Grubba) <>

Nettle.Cipher: Major refactoring of the ciphers.

The cipher state now uses parent pointers instead of mixins.

Renamed Nettle.<CIPHER>_Info to Nettle.<CIPHER> and
moved Nettle.<CIPHER>_State to Nettle.<CIPHER>.State.

Adjusted the corresponding code in Crypto, so that the APIs
there should be the same as before.

262:   //!   //! @seealso   //! @[verify()], @[predef::crypt()], @[Nettle.crypt_md5()], - //! @[Nettle.HashInfo()->crypt_hash()] + //! @[Nettle.Hash()->crypt_hash()]   string(0..127) hash(string password, string|void scheme, int|void rounds)   {    function(string, string, int:string(0..255)) crypt_hash;