My Project
Loading...
Searching...
No Matches
wolfcrypt.random.Random Class Reference
Inheritance diagram for wolfcrypt.random.Random:

Public Member Functions

 __init__ (self)
 
 __del__ (self)
 
 byte (self)
 
 bytes (self, length)
 

Data Fields

 native_object = _ffi.new("WC_RNG *")
 

Detailed Description

A Cryptographically Secure Pseudo Random Number Generator - CSPRNG

Member Function Documentation

◆ byte()

wolfcrypt.random.Random.byte ( self)
Generate and return a random byte.

◆ bytes()

wolfcrypt.random.Random.bytes ( self,
length )
Generate and return a random sequence of length bytes.