digitalmars.D.learn - An Alternative to Deimos' OpenSSL Bindings
- Meta (6/6) Jun 12 2016 I wanted to use OpenSSL from D but I noticed that the Deimos
- Peter Lewis (5/11) Jun 12 2016 There is an alternative, if you search dub you can find this[1]
- Vladimir Panteleev (3/9) Jun 12 2016 What's the problem? According to the OpenSSL changelog, SHA-512
- David Nadlinger (6/15) Jun 12 2016 Just in case that isn't clear, what Vladimir is pointing out is
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.
Jun 12 2016
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
Jun 12 2016
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.
Jun 12 2016
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: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. — DavidI 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.
Jun 12 2016