Packages

Native Elixir wrapper for the Scrypt KDF

Current section

Files

Jump to
scrypt_elixir_copy scrypt libcperciva util entropy.h
Raw

scrypt/libcperciva/util/entropy.h

#ifndef _ENTROPY_H_
#define _ENTROPY_H_
#include <stddef.h>
#include <stdint.h>
/**
* entropy_read(buf, buflen):
* Fill the given buffer with random bytes provided by the operating system.
*/
int entropy_read(uint8_t *, size_t);
#endif /* !_ENTROPY_H_ */