StormByte-Crypto 2.0.0
C++26 cryptography module of the StormByte suite
 
Loading...
Searching...
No Matches
StormByte::Crypto::Hasher Namespace Reference

Hash algorithms of the Crypto module. More...

Classes

class  Blake2b
 BLAKE2b hasher. More...
 
class  Blake2s
 BLAKE2s hasher. More...
 
class  Exception
 Exception from the hasher component. More...
 
class  Generic
 Abstract hasher. More...
 
class  SHA256
 SHA-256 hasher. More...
 
class  SHA3_256
 SHA3-256 hasher. More...
 
class  SHA3_512
 SHA3-512 hasher. More...
 
class  SHA512
 SHA-512 hasher. More...
 

Enumerations

enum class  Type {
  Blake2b , Blake2s , SHA3_256 , SHA3_512 ,
  SHA256 , SHA512
}
 Available hash algorithms. More...
 

Functions

Generic::PointerType Create (Type type) noexcept
 Factory for a hasher.
 

Detailed Description

Hash algorithms of the Crypto module.

Enumeration Type Documentation

◆ Type

Available hash algorithms.

Enumerator
Blake2b 

BLAKE2b.

Blake2s 

BLAKE2s.

SHA3_256 

SHA3-256.

SHA3_512 

SHA3-512.

SHA256 

SHA-256.

SHA512 

SHA-512.

Function Documentation

◆ Create()

Generic::PointerType StormByte::Crypto::Hasher::Create ( Type  type)
noexcept

Factory for a hasher.

Parameters
typeAlgorithm.
Returns
Hasher pointer.