Created
March 7, 2016 01:16
-
-
Save gburd/e236fdfb5455e5581b5c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
crypto:start(). | |
<<Mac:160/integer>> = crypto:hmac(sha, <<"hello">>, <<"world">>). | |
%% <<138,58,132,188,208,208,6,94,151,241,117,211,112,68,124,125,2,224,9,115>> | |
lists:flatten(io_lib:format("~40.16.0b", [Mac])). | |
%% "8a3a84bcd0d0065e97f175d370447c7d02e00973" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment