[erlang-questions] sha-2

Dan Gudmundsson <>
Tue Jun 2 09:09:07 CEST 2009


The code for sha-256 and sha-512 is in there, but commented away since some BSD's still 
don't ship with new enough openssl implementations.

We don't want a moving erlang api or do we?

/Dan

Torben Hoffmann wrote:
> I agree on the speed, but crypto's dependency on OpenSSL makes shipping a
> product a bit harder since you have to bundle it with OpenSSL as well. And
> this makest harder to make a distribution for multiple platforms.
> 
> But if you need more than the SHA functions from crypto or distribution is
> not an issue then crypto is the choice... unless you sit down and implent
> what you are missing in Erlang!! ;-)
> 
> Cheers,
> Torben
> 
> On Mon, Jun 1, 2009 at 8:43 PM, Rapsey <> wrote:
> 
>> Yeah I know about that implementation. But it would be nice to have it in
>> crypto and backed by OpenSSL which would be much faster.
>>
>>
>> Sergej
>>
>> On Mon, Jun 1, 2009 at 8:18 PM, Torben Hoffmann <
>> > wrote:
>>
>>> http://steve.vinoski.net/blog/2009/01/03/more-sha-in-erlang/
>>>
>>> Cheers,
>>> Torben
>>>
>>>
>>> On Mon, Jun 1, 2009 at 5:53 PM, Rapsey <> wrote:
>>>
>>>> Are there any plans to add sha-2 (SHA-224, SHA-256, SHA-384, SHA-512)
>>>> support to the crypto module?
>>>>
>>>>
>>>> thank you,
>>>> Sergej
>>>>
>>>
> 


More information about the erlang-questions mailing list