[erlang-patches] Crypto documentation enhancements for HMAC types
Wed Sep 26 17:51:02 CEST 2012
Daniel White wrote:
> Had a few surprises with the documentation, particularly with
> HMAC-SHA256 being available but not realising until I dug into the
> The primary patch documents every type available to hmac_init.
> I'm less sure about whether the second patch as it adds an entry for
> each sha*_mac function. Is there a desire to keep both types of
> interface standard in the long run? Or is the more general hmac_init
> suitable enough?
I think I would prefer a generic hmac(Type, Key, Data) similar to
hash(Type;Data) that was added in R15B02.
More information about the erlang-patches