[][src]Module secret_keeper::rand

CSRNG based on platform (OS) CSRNG.

The function below is used for nonce generation, and for key generation for some SecretKeepers. For SecretKeepers such as Hashivault and CloudKMS, keys are generated by those external services.

Functions

fill_buf

Fill the buffer with random bytes Currently implemented using getrandom crate, which uses native OS/platform implementations.