Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: HMAC Sha256 Help!

by hippo (Bishop)
on Jul 18, 2017 at 09:21 UTC ( [id://1195304]=note: print w/replies, xml ) Need Help??


in reply to HMAC Sha256 Help!

$step1="$method\\n $datestring\\n $appid\\n $path";

That looks unusual. Why the double backslashes? Why the whitespace? Were you specifically instructed to create $step1 like this?

Replies are listed 'Best First'.
Re^2: HMAC Sha256 Help!
by ribble (Novice) on Jul 18, 2017 at 12:06 UTC

    Yes, apologies step1 is to be constructed this way.

    a sample string is "GET\n Wed, 08 Apr 2015 21:37:33 GMT \n1b700d2e7b7b4abfa1950c865e23e81a\n /xxxxxxx/api/v1/users/jsmith/factors"

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1195304]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (2)
As of 2024-04-20 03:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found