On 14-Jul-2015 10:07, "Marc =?UTF-8?B?U2Now7x0eiI=?= <schue...@gmx.net>"
wrote:
On Monday, 13 July 2015 at 15:49:39 UTC, puzzlehawk wrote:
[snip]
Also, in 2.068 there will be an optional enum `blockSize` (in bits) for
the hash algorithms, for use with the newly added std.digest.hmac. Your
library has a runtime method for that. Isn't the block size always known
at compile time? If you could change it to an enum, your library would
be compatible with Phobos.
Maybe a similar interface should be used for the block ciphers?
Would be awesome to have similar API. Even most C API for hashes vs
cyphers looks almost the same.
--
Dmitry Olshansky