18 #ifndef _DECAF_SECURITY_SECURERANDOM_H_ 19 #define _DECAF_SECURITY_SECURERANDOM_H_ 37 std::auto_ptr<SecureRandomSpi> secureRandom;
87 virtual void nextBytes( std::vector<unsigned char>& buf );
92 virtual void nextBytes(
unsigned char* buf,
int size );
97 virtual void setSeed(
unsigned long long seed );
106 virtual void setSeed(
const std::vector<unsigned char>& seed );
120 virtual void setSeed(
const unsigned char* seed,
int size );
127 virtual int next(
int bits );
Random Value Generator which is used to generate a stream of pseudorandom numbers.
Definition: Random.h:37
#define DECAF_API
Definition: Config.h:29
Definition: SecureRandom.h:34
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements...
Definition: AprPool.h:25