Thread overview | ||||||
---|---|---|---|---|---|---|
|
June 12, 2016 An Alternative to Deimos' OpenSSL Bindings | ||||
---|---|---|---|---|
| ||||
I wanted to use OpenSSL from D but I noticed that the Deimos bindings are for version 1.0.0e, which according to OpenSSL.org is an out of date version. Are there any bindings for the latest version, or an alternative that I could use? I know I could use std.digest for SHA512, but I still need a secure random number generator. |
June 12, 2016 Re: An Alternative to Deimos' OpenSSL Bindings | ||||
---|---|---|---|---|
| ||||
Posted in reply to Meta | On Sunday, 12 June 2016 at 19:12:37 UTC, Meta wrote: > I wanted to use OpenSSL from D but I noticed that the Deimos bindings are for version 1.0.0e, which according to OpenSSL.org is an out of date version. Are there any bindings for the latest version, or an alternative that I could use? I know I could use std.digest for SHA512, but I still need a secure random number generator. There is an alternative, if you search dub you can find this[1] library. It has been updated last in December 2016. Hope it works well for you! 1 https://code.dlang.org/packages/dcrypto |
June 12, 2016 Re: An Alternative to Deimos' OpenSSL Bindings | ||||
---|---|---|---|---|
| ||||
Posted in reply to Meta | On Sunday, 12 June 2016 at 19:12:37 UTC, Meta wrote:
> I wanted to use OpenSSL from D but I noticed that the Deimos bindings are for version 1.0.0e, which according to OpenSSL.org is an out of date version. Are there any bindings for the latest version, or an alternative that I could use? I know I could use std.digest for SHA512, but I still need a secure random number generator.
What's the problem? According to the OpenSSL changelog, SHA-512 was added in v0.9.8.
|
June 12, 2016 Re: An Alternative to Deimos' OpenSSL Bindings | ||||
---|---|---|---|---|
| ||||
Posted in reply to Vladimir Panteleev | On Sunday, 12 June 2016 at 21:49:21 UTC, Vladimir Panteleev wrote:
> On Sunday, 12 June 2016 at 19:12:37 UTC, Meta wrote:
>> I wanted to use OpenSSL from D but I noticed that the Deimos bindings are for version 1.0.0e, which according to OpenSSL.org is an out of date version. Are there any bindings for the latest version, or an alternative that I could use? I know I could use std.digest for SHA512, but I still need a secure random number generator.
>
> What's the problem? According to the OpenSSL changelog, SHA-512 was added in v0.9.8.
Just in case that isn't clear, what Vladimir is pointing out is that unless you need a feature from the new versions – or OpenSSL breaks binary compatibility, which is unlikely to happen anytime soon – the old headers will work just fine.
— David
|
Copyright © 1999-2021 by the D Language Foundation