digitalmars.D.announce - dcrypt - a cryptography library written in D
- puzzlehawk (7/7) Jul 13 2015 dcrypt is a cryptography library written entirely in D and a
- Dejan Lekic (1/1) Jul 13 2015 And source is where? :)
- noname (3/4) Jul 13 2015 Is this one?
- puzzlehawk (2/2) Jul 13 2015 Here it is:
- Dmitry Olshansky (4/12) Jul 13 2015 --
- Jonathan M Davis (3/5) Jul 13 2015 Now, with a name like that, will it be able _en_crypt as well? ;)
- Adam D. Ruppe (2/4) Jul 13 2015 encrypt - a cryptography library written in English
- Jonathan M Davis (3/7) Jul 13 2015 LOL.
- Steven Schveighoffer (4/7) Jul 13 2015 Better would be something that takes any stream of bytes and transforms
- Nina (4/14) Jul 13 2015 This would be a funny tool for steganography (if its reversible)
- Jonathan M Davis (5/14) Jul 13 2015 Sure, it'll just grab stuff from google and claim that it
- "Marc =?UTF-8?B?U2Now7x0eiI=?= <schuetzm gmx.net> (13/20) Jul 14 2015 Nice work!
- Dmitry Olshansky (7/14) Jul 14 2015 [snip]
dcrypt is a cryptography library written entirely in D and a little bit D inline assembler. The library is inspired by BouncyCastle. Most important symmetric algorithms are implemented but work on asymmetric cryptography has not yet started. dcrypt is not yet ready for daily use. There's a lot of work to be done and I'll be glad to get some feedback or collaboration. puzzlehawk
Jul 13 2015
On Monday, 13 July 2015 at 15:55:08 UTC, Dejan Lekic wrote:And source is where? :)Is this one? https://github.com/Etherous/dcrypt
Jul 13 2015
Here it is: https://github.com/puzzlehawk/dcrypt
Jul 13 2015
On 13-Jul-2015 18:49, puzzlehawk wrote:dcrypt is a cryptography library written entirely in D and a little bit D inline assembler. The library is inspired by BouncyCastle.I sure hope it's not the API part of BC.Most important symmetric algorithms are implemented but work on asymmetric cryptography has not yet started. dcrypt is not yet ready for daily use. There's a lot of work to be done and I'll be glad to get some feedback or collaboration. puzzlehawk-- Dmitry Olshansky
Jul 13 2015
On Monday, 13 July 2015 at 15:49:39 UTC, puzzlehawk wrote:dcrypt is a cryptography library written entirely in D and a little bit D inline assembler.Now, with a name like that, will it be able _en_crypt as well? ;) - Jonathan M Davis
Jul 13 2015
On Monday, 13 July 2015 at 18:07:25 UTC, Jonathan M Davis wrote:Now, with a name like that, will it be able _en_crypt as well? ;)encrypt - a cryptography library written in English
Jul 13 2015
On Monday, 13 July 2015 at 18:11:21 UTC, Adam D. Ruppe wrote:On Monday, 13 July 2015 at 18:07:25 UTC, Jonathan M Davis wrote:LOL. - Jonathan M DavisNow, with a name like that, will it be able _en_crypt as well? ;)encrypt - a cryptography library written in English
Jul 13 2015
On 7/13/15 2:11 PM, Adam D. Ruppe wrote:On Monday, 13 July 2015 at 18:07:25 UTC, Jonathan M Davis wrote:Better would be something that takes any stream of bytes and transforms it into readable english :) -SteveNow, with a name like that, will it be able _en_crypt as well? ;)encrypt - a cryptography library written in English
Jul 13 2015
On Monday, 13 July 2015 at 19:35:32 UTC, Steven Schveighoffer wrote:On 7/13/15 2:11 PM, Adam D. Ruppe wrote:This would be a funny tool for steganography (if its reversible) and could be done with huffman trees.On Monday, 13 July 2015 at 18:07:25 UTC, Jonathan M Davis wrote:Better would be something that takes any stream of bytes and transforms it into readable english :) -SteveNow, with a name like that, will it be able _en_crypt as well? ;)encrypt - a cryptography library written in English
Jul 13 2015
On Monday, 13 July 2015 at 19:35:32 UTC, Steven Schveighoffer wrote:On 7/13/15 2:11 PM, Adam D. Ruppe wrote:Sure, it'll just grab stuff from google and claim that it translated it from the bytes. ;) - Jonathan M DavisOn Monday, 13 July 2015 at 18:07:25 UTC, Jonathan M Davis wrote:Better would be something that takes any stream of bytes and transforms it into readable english :)Now, with a name like that, will it be able _en_crypt as well? ;)encrypt - a cryptography library written in English
Jul 13 2015
On Monday, 13 July 2015 at 15:49:39 UTC, puzzlehawk wrote:dcrypt is a cryptography library written entirely in D and a little bit D inline assembler. The library is inspired by BouncyCastle. Most important symmetric algorithms are implemented but work on asymmetric cryptography has not yet started. dcrypt is not yet ready for daily use. There's a lot of work to be done and I'll be glad to get some feedback or collaboration.Nice work! For the hashes, I think you should follow the interface of the Phobos std.digest package, with `start`, `put` and `finish` methods: http://dlang.org/phobos/std_digest_digest.html 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?
Jul 14 2015
On 14-Jul-2015 10:07, "Marc =?UTF-8?B?U2Now7x0eiI=?= <schuetzm 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
Jul 14 2015