dcrypt - a cryptography library written in D
Dmitry Olshansky via Digitalmars-d-announce
digitalmars-d-announce at puremagic.com
Tue Jul 14 07:21:09 PDT 2015
On 14-Jul-2015 10:07, "Marc =?UTF-8?B?U2Now7x0eiI=?= <schuetzm at 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
More information about the Digitalmars-d-announce
mailing list