[erlang-questions] How to use crypto:hmac_init() and friends?
Jesper Louis Andersen
jesper.louis.andersen@REDACTED
Fri Nov 20 12:43:25 CET 2015
On Fri, Nov 20, 2015 at 11:31 AM, Viktor Söderqvist <viktor@REDACTED>
wrote:
> I think the magic could at least be documented. The documentation for
> http://www.erlang.org/doc/man/crypto.html#hmac_init-2 just says the
> context is a binary and doesn't mention anything about the emulator
> state. That would be nice. I certainly would be confused if I ran into
> this empty binary.
>
It feels like a hack to me. Having an explicit opaque type for these kinds
of things would be really nice.
--
J.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20151120/c3e138d5/attachment.htm>
More information about the erlang-questions
mailing list