![]() |
Nazara Engine
0.4
A fast, complete, cross-platform API designed for game development
|
Core class that represents the behaviour of the hash classes. More...
Inherited by Nz::HashCRC32, Nz::HashCRC64, Nz::HashFletcher16, Nz::HashMD5, Nz::HashSHA1, Nz::HashSHA224, Nz::HashSHA256, Nz::HashSHA384, Nz::HashSHA512, and Nz::HashWhirlpool.
Public Member Functions | |
| AbstractHash (const AbstractHash &)=delete | |
| AbstractHash (AbstractHash &&)=default | |
| virtual void | Append (const UInt8 *data, std::size_t len)=0 |
| virtual void | Begin ()=0 |
| virtual ByteArray | End ()=0 |
| virtual std::size_t | GetDigestLength () const =0 |
| virtual const char * | GetHashName () const =0 |
| AbstractHash & | operator= (const AbstractHash &)=delete |
| AbstractHash & | operator= (AbstractHash &&)=default |
Static Public Member Functions | |
| static std::unique_ptr< AbstractHash > | Get (HashType hash) |
| Factory of Hash classes in function of HashType. More... | |
Core class that represents the behaviour of the hash classes.
|
static |
Factory of Hash classes in function of HashType.
| type | Enumeration of type HashType |