Comeonin.Tools
Module that provides various tools for the hashing algorithms.
Summary
Use erlang’s crypto.strong_rand_bytes by default. Falls back to crypto.rand_bytes if there is too little entropy for strong_rand_bytes to work
Compares the two binaries in constant time to avoid timing attacks
Functions
Use erlang’s crypto.strong_rand_bytes by default. Falls back to crypto.rand_bytes if there is too little entropy for strong_rand_bytes to work.