Skip to content

nim-community/blake2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blake2 Test

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)

About

Taken over from @tankfeeder (https://bitbucket.org/mihailp/)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Nim 100.0%