Write a seed file containing entropy from the CSPRNG for later RAND_load_file() use.

Synopsis

Declared in <openssl/rand.h>

int
RAND_write_file(char const* file);

Return Value

Number of bytes written, or ‐1 on failure.

Parameters

Name

Description

file

Path of the seed file to create or overwrite.

Created with MrDocs