HMAC-SHA-512-256 based on TweetNaCl.js
npm install tweetnacl-authHMAC-SHA-512-256 for TweetNacl.js
=================================
Implementation of
(requires TweetNaCl.js).
Written in 2014 by Dmitry Chestnykh. Public domain.

Installation
------------
Via NPM:
$ npm install tweetnacl-auth
or just download nacl-auth.js or nacl-auth.min.js and include it after
TweetNaCl.js:
``html`
If using a CommonJS environment, such as Node.js, you can import it into nacl
namespace:
`javascript`
var nacl = require('tweetnacl');
nacl.auth = require('tweetnacl-auth');
Usage
-----
Authenticates the given message with the secret key.
(In other words, returns HMAC-SHA-512-256 of the message under the key.)
Returns HMAC-SHA-512 (without truncation) of the message under the key
Length of authenticator returned by nacl.auth.
Length of authenticator returned by nacl.auth.full.
Length of key for nacl.auth and nacl.auth.full` (key length is currently not
enforced).