Abhimanyu
Abhimanyu

Reputation: 369

hash_hmac in erlang

I want to know, is there any way to achieve hash_hmac("sha256", $token, $signkey, true) (php) in erlang?

Upvotes: 3

Views: 464

Answers (3)

Steve Vinoski
Steve Vinoski

Reputation: 20014

The erlsha2 library supports sha256 and hmac, as explained in the answer to this question.

Upvotes: 1

Sam Saffron
Sam Saffron

Reputation: 131112

I just googled this

Looks like Sha256 is missing from erlang base libraries, but the author on the blog hand coded an implementation.

Upvotes: 1

Related Questions