BLAKE2b cryptographic hash function for Nim.
import blake2
# Simple hashing
echo getBlake2b("data", 32)
# With key
var b: Blake2b
blake2b_init(b, 4, "key", 3)
blake2b_update(b, "data", 4)
assert($blake2b_final(b) == getBlake2b("data", 4, "key"))Run tests: nimble test
License: CC0 1.0 Universal (see LICENSE file)