blake2b {argon2}R Documentation

blake2b

Description

A 512-bit blake2b hash implementation.

Usage

blake2b(x, key = NULL)

Arguments

x

Input to be hashed. Can be a single string or a raw vector.

key

An optional key. Should be NULL (for no key), a single string, or a raw vector.

Value

The hash of the string as a raw vector.

References

Aumasson, J.P., Neves, S., Wilcox-O'Hearn, Z. and Winnerlein, C., 2013, June. BLAKE2: simpler, smaller, fast as MD5. In International Conference on Applied Cryptography and Network Security (pp. 119-135). Springer Berlin Heidelberg.

Examples

## Not run: 
library(argon2)
blake2b("some string")
blake2b("another")

## End(Not run)


[Package argon2 version 0.4-0 Index]