November 14, 2004 Re: Documentation style, SHA1, stream filters and malloc w/ GC | ||||
---|---|---|---|---|
| ||||
Posted in reply to Daniel Keep | I would seriously consider adding many other ciphers, there are many good ciphers around there, it's true we can't have them all, but to add a built in crypto unit, sorta like the CryptoAPIs in windows.. - Asaf. |
November 14, 2004 Re: Documentation style, SHA1, stream filters and malloc w/ GC | ||||
---|---|---|---|---|
| ||||
Posted in reply to Daniel Keep | On Sat, 13 Nov 2004 00:38:28 +1100, Daniel Keep <daniel.keep@dummy.gmail.com> wrote: > 2) SHA1 > > I noticed that the standard library has an implementation of MD5, but no SHA1. Since MD5 was recently broken, and because I didn't know any better (:P), I decided to write an SHA1 implementation in D. I was wondering if there was any interest in this for Phobos? > > I've got a port of the RFC3174 reference code done, and I plan on refactoring it so that it's similar to the MD5 module. I was also thinking about writing a Stream class that progressively computes the hash as you write to it. > > Which was what gave me an idea for... Take a look at my implementations of: MD4 MD5 SHA0 SHA1 SHA256 SHA512 Tiger Here: http://www.dsource.org/projects/deimos/ You can get/view the source here: http://svn.dsource.org/svn/projects/deimos/trunk/etc/crypto/hash/ Regan -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ |
November 15, 2004 Re: Documentation style, SHA1, stream filters and malloc w/ GC | ||||
---|---|---|---|---|
| ||||
Posted in reply to Regan Heath | I meant to get Deimos, but I got put off by the "No Downloads" text.
<checks out with subversion>
<looks at Deimos, then at own SHA-1 code>
Well, there goes that project... But on the bright side, *mine* has a version switch to compile to an actual sha1sum program. :P
Ah well. I suppose I can go back to making my super-cool cached linked list implementation... :)
Thanks for the heads up,
-- Daniel "So much for that idea"
Regan Heath wrote:
> On Sat, 13 Nov 2004 00:38:28 +1100, Daniel Keep <daniel.keep@dummy.gmail.com> wrote:
>
>> 2) SHA1
>>
>> I noticed that the standard library has an implementation of MD5, but no SHA1. Since MD5 was recently broken, and because I didn't know any better (:P), I decided to write an SHA1 implementation in D. I was wondering if there was any interest in this for Phobos?
>>
>> I've got a port of the RFC3174 reference code done, and I plan on refactoring it so that it's similar to the MD5 module. I was also thinking about writing a Stream class that progressively computes the hash as you write to it.
>>
>> Which was what gave me an idea for...
>
>
> Take a look at my implementations of:
> MD4
> MD5
> SHA0
> SHA1
> SHA256
> SHA512
> Tiger
>
> Here:
> http://www.dsource.org/projects/deimos/
>
> You can get/view the source here:
> http://svn.dsource.org/svn/projects/deimos/trunk/etc/crypto/hash/
>
> Regan
>
|
November 15, 2004 Re: Documentation style, SHA1, stream filters and malloc w/ GC | ||||
---|---|---|---|---|
| ||||
Posted in reply to Daniel Keep | On Tue, 16 Nov 2004 02:42:28 +1100, Daniel Keep <daniel.keep@dummy.gmail.com> wrote: > I meant to get Deimos, but I got put off by the "No Downloads" text. > > <checks out with subversion> > > <looks at Deimos, then at own SHA-1 code> > > Well, there goes that project... But on the bright side, *mine* has a version switch to compile to an actual sha1sum program. :P Then please feel free to add it to the Deimos version, if you want, no pressure :) > Ah well. I suppose I can go back to making my super-cool cached linked list implementation... :) Sounds cool. > Thanks for the heads up, NP. Regan > Regan Heath wrote: >> On Sat, 13 Nov 2004 00:38:28 +1100, Daniel Keep <daniel.keep@dummy.gmail.com> wrote: >> >>> 2) SHA1 >>> >>> I noticed that the standard library has an implementation of MD5, but no SHA1. Since MD5 was recently broken, and because I didn't know any better (:P), I decided to write an SHA1 implementation in D. I was wondering if there was any interest in this for Phobos? >>> >>> I've got a port of the RFC3174 reference code done, and I plan on refactoring it so that it's similar to the MD5 module. I was also thinking about writing a Stream class that progressively computes the hash as you write to it. >>> >>> Which was what gave me an idea for... >> >> >> Take a look at my implementations of: >> MD4 >> MD5 >> SHA0 >> SHA1 >> SHA256 >> SHA512 >> Tiger >> >> Here: >> http://www.dsource.org/projects/deimos/ >> >> You can get/view the source here: >> http://svn.dsource.org/svn/projects/deimos/trunk/etc/crypto/hash/ >> >> Regan >> -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ |
Copyright © 1999-2021 by the D Language Foundation