Skip to content

Instantly share code, notes, and snippets.

@hungryblank
Created December 2, 2010 10:25
Show Gist options
  • Save hungryblank/725098 to your computer and use it in GitHub Desktop.
Save hungryblank/725098 to your computer and use it in GitHub Desktop.
sha_mac erlang call
1> crypto:sha_mac("my_key","GET\n\n\nThu, 02 Dec 2010 10:05:01 GMT\n/").
** exception error: bad argument
in function port_control/3
called as port_control(crypto_drv02,11,
[<<0,0,0,6>>,
"my_key","GET\n\n\nThu, 02 Dec 2010 10:05:01 GMT\n/"])
in call from crypto:control/2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment