Secure Random Number Generator for Unix based platforms that attempts to obtain secure bytes with high entropy from known sources.
More...
|
| | SecureRandomImpl () |
| |
| virtual | ~SecureRandomImpl () |
| |
| virtual void | providerSetSeed (const unsigned char *seed, int size) |
| | Reseed the Random Number Generator, the value given supplements the previous seed value if any instead of replacing it.
|
| |
| virtual void | providerNextBytes (unsigned char *bytes, int numBytes) |
| | Generates the number of random bytes specified by the size parameter and write them to the passed bytes array.
|
| |
| virtual unsigned char * | providerGenerateSeed (int numBytes) |
| | Generates a new set of seed bytes, the returned value may be used to seed another Random Number Generator.
|
| |
| | SecureRandomImpl () |
| |
| virtual | ~SecureRandomImpl () |
| |
| virtual void | providerSetSeed (const unsigned char *seed, int size) |
| | Reseed the Random Number Generator, the value given supplements the previous seed value if any instead of replacing it.
|
| |
| virtual void | providerNextBytes (unsigned char *bytes, int numBytes) |
| | Generates the number of random bytes specified by the size parameter and write them to the passed bytes array.
|
| |
| virtual unsigned char * | providerGenerateSeed (int numBytes) |
| | Generates a new set of seed bytes, the returned value may be used to seed another Random Number Generator.
|
| |
Public Member Functions inherited from decaf::security::SecureRandomSpi |
| | SecureRandomSpi () |
| |
| virtual | ~SecureRandomSpi () |
| |
| virtual void | providerSetSeed (const unsigned char *seed, int size)=0 |
| | Reseed the Random Number Generator, the value given supplements the previous seed value if any instead of replacing it.
|
| |
| virtual void | providerNextBytes (unsigned char *bytes, int numBytes)=0 |
| | Generates the number of random bytes specified by the size parameter and write them to the passed bytes array.
|
| |
| virtual unsigned char * | providerGenerateSeed (int numBytes)=0 |
| | Generates a new set of seed bytes, the returned value may be used to seed another Random Number Generator.
|
| |
| | SecuritySpi () |
| |
| virtual | ~SecuritySpi () |
| |
Secure Random Number Generator for Unix based platforms that attempts to obtain secure bytes with high entropy from known sources.
Secure Random Number Generator for Windows based platforms that attempts to obtain secure bytes with high entropy from known sources.
If the platform does not have a source of secure bytes then the platform random number generator is used if one exists otherwise the Decaf RNG is used as a last resort.
- Since
- 1.0