Sortix
Sortix Download Manual Development Source Code News Blog More
current nightly
RAND_cleanup(3) LibreSSL RAND_cleanup(3)

NAME

RAND_cleanup - erase the PRNG state

SYNOPSIS


#include <openssl/rand.h>

void RAND_cleanup(void);

DESCRIPTION

RAND_cleanup() erases the memory used by the PRNG.

RETURN VALUE

RAND_cleanup() returns no value.

SEE ALSO

rand(3)

HISTORY

RAND_cleanup() is available in all versions of SSLeay and OpenSSL.
2015-10-26 LibreSSL
Copyright 2011-2025 Jonas 'Sortie' Termansen and contributors.
Sortix's source code is free software under the ISC license.
#sortix on irc.sortix.org
@sortix_org