Contains cryptographic tools, namely implementations of the SHA-2 hashfunctions, a pseudo-random generator and a random oracle. More...
Classes | |
class | PRG |
Implements a pseudo-random byte generator as explained in the verificatum verifier specification. More... | |
class | RO |
Implements a random oracle as explained in the verificatum verifier specification. More... | |
class | SHA256 |
Implements the SHA256 hashfunction, i.e. sha-256. Inherits from SHAx. More... | |
class | SHA384 |
Implements the SHA384 hashfunction, i.e. sha-384. Inherits from SHAx. More... | |
class | SHA512 |
Implements the SHA512 hashfunction, i.e. sha-512. Inherits from SHAx. More... | |
class | SHAx |
Provides a common interface for all the hashfunctions of the SHA-2 family. More... |
Contains cryptographic tools, namely implementations of the SHA-2 hashfunctions, a pseudo-random generator and a random oracle.
The SHA hashfunctions all inherits from the same SHAx virtual class so it should be easy to add new hashfunctions. The pseudo-random generators relies on a hashfunction and the random oracle depends on a hashfunction and on a pseuo-random generator.