On 12/08/2017 01:05 PM, kerdemdemir wrote:
> Hi,
>
> I need to have the same result while using :
>
> openssl
Works for me as adapted from Phobos documentation:
import std.stdio;
import std.digest.hmac, std.digest.sha;
import std.string : representation;
void main() {
auto hmac =
Hi,
I need to have the same result while using :
openssl dgst -sha256 -hmac "somestring"
But the server rejecting my generated hmac with the code below .
auto hmac = HMAC!SHA256("somestring".representation);
hmac.put(url.representation);
auto generatedHmac = hmac.finish();
string