AWS API Dlang,  hmac sha256 function.
    Vladimir Panteleev via Digitalmars-d-learn 
    digitalmars-d-learn at puremagic.com
       
    Sat Oct  3 12:08:06 PDT 2015
    
    
  
On Saturday, 3 October 2015 at 03:11:06 UTC, holo wrote:
> Last but not least, how to write such function in D:
>
> def sign(key, msg):
>     return hmac.new(key, msg.encode("utf-8"), 
> hashlib.sha256).digest()
>
> ?
>
> I can't find in standard libraryt hmac function, is it existing?
The next version of D will have a std.digest.hmac module:
http://dlang.org/phobos-prerelease/std_digest_hmac.html
    
    
More information about the Digitalmars-d-learn
mailing list