On Wednesday, 18 July 2018 at 11:29:42 UTC, baz@dlang-community
wrote:
On Wednesday, 18 July 2018 at 11:22:36 UTC, Nicholas Wilson
wrote:
On Wednesday, 18 July 2018 at 05:54:48 UTC, Nicholas Wilson
wrote:
[...]
Ahh, the joys of memory corruption.
You've reached
On Wednesday, 18 July 2018 at 11:22:36 UTC, Nicholas Wilson wrote:
On Wednesday, 18 July 2018 at 05:54:48 UTC, Nicholas Wilson
wrote:
[...]
Ahh, the joys of memory corruption.
Yep, actually this one is a very common one.
However, -dip1000 would warn you here ...
On Wednesday, 18 July 2018 at 11:22:36 UTC, Nicholas Wilson wrote:
On Wednesday, 18 July 2018 at 05:54:48 UTC, Nicholas Wilson
wrote:
[...]
Ahh, the joys of memory corruption.
You've reached https://issues.dlang.org/show_bug.cgi?id=16519
maybe ?
On Wednesday, 18 July 2018 at 05:54:48 UTC, Nicholas Wilson wrote:
...
string key = "blahblahblah";
auto mac = hmac!SHA256(key.representation);
string s = ...,t=...u=...,v=...;
foreach(w;AliasSeq!(s,t,u,v))
mac.put(w.representation);
ubyte[32] s = mac.finish;
string sig =
On Wednesday, 18 July 2018 at 05:54:48 UTC, Nicholas Wilson wrote:
...
string key = "blahblahblah";
auto mac = hmac!SHA256(key.representation);
string s = ...,t=...u=...,v=...;
foreach(w;AliasSeq!(s,t,u,v))
mac.put(w.representation);
ubyte[32] s = mac.finish;
string sig =
...
string key = "blahblahblah";
auto mac = hmac!SHA256(key.representation);
string s = ...,t=...u=...,v=...;
foreach(w;AliasSeq!(s,t,u,v))
mac.put(w.representation);
ubyte[32] s = mac.finish;
string sig = toHexString!(LetterCase.lower)(s);
writeln(sig);
// From what I understand