sign oauth request

H. S. Teoh via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Sep 25 09:17:44 PDT 2014


On Thu, Sep 25, 2014 at 03:57:36PM +0000, szabo bogdan via Digitalmars-d-learn wrote:
> Hi,
> 
> How I can sign a request for flickrl oauth api?
> https://www.flickr.com/services/api/auth.oauth.html#request_token
> 
> there is no HMAC-SHA1 algorithm in phobos library... should I implement it
> from scratch?
[...]

Implementing cryptographic algorithms on your own is probably not a good
idea. Your safest bet is to use one of the many C authentication
libraries out there, since D can call C functions directly.


T

-- 
Once the bikeshed is up for painting, the rainbow won't suffice. -- Andrei Alexandrescu


More information about the Digitalmars-d-learn mailing list