CppSecurity  1.1.1.0
C++ Security Library
Classes | Enumerations | Functions | Variables
CppSecurity Namespace Reference

Classes

class  Cipher
 Cipher. More...
 
class  GoogleAuthenticator
 Google Authenticator. More...
 
class  PasswordAllocator
 Password allocator. More...
 
class  PasswordGenerator
 Password generator. More...
 
class  PasswordHashing
 Password hashing interface. More...
 
class  Argon2dPasswordHashing
 'Argon2d' password hashing algorithm More...
 
class  Argon2iPasswordHashing
 'Argon2i' password hashing algorithm More...
 
class  Argon2idPasswordHashing
 'Argon2id' password hashing algorithm More...
 
class  BcryptPasswordHashing
 'bcrypt' password hashing algorithm More...
 
class  PBKDF2PasswordHashing
 'PBKDF2' password hashing algorithm More...
 
class  ScryptPasswordHashing
 'scrypt' password hashing algorithm More...
 

Enumerations

enum class  CipherAlgorithm {
  AES128 , AES192 , AES256 , ARIA128 ,
  ARIA192 , ARIA256 , Camellia128 , Camellia192 ,
  Camellia256
}
 Cipher algorithm. More...
 
enum class  PasswordFlags {
  none = 0x0 , lower = 0x1 , upper = 0x2 , digits = 0x4 ,
  symbols = 0x8
}
 Password flags. More...
 
enum class  PBKDF2 { HMAC_SHA1 , HMAC_SHA256 , HMAC_SHA512 }
 'PBKDF2' algorithm More...
 

Functions

template<class TOutputStream >
TOutputStream & operator<< (TOutputStream &stream, CipherAlgorithm algorithm)
 
template<class TOutputStream >
TOutputStream & operator<< (TOutputStream &stream, PasswordFlags flags)
 Stream output: Password flags. More...
 
template<class TOutputStream >
TOutputStream & operator<< (TOutputStream &stream, PBKDF2 algorithm)
 Stream output: 'PBKDF2' algorithm. More...
 

Variables

const char version [] = "1.1.1.0"
 Project version. More...
 

Enumeration Type Documentation

◆ CipherAlgorithm

Cipher algorithm.

Enumerator
AES128 
AES192 
AES256 
ARIA128 
ARIA192 
ARIA256 
Camellia128 
Camellia192 
Camellia256 

Definition at line 21 of file cipher.h.

◆ PasswordFlags

Password flags.

Enumerator
none 

Empty password flags.

lower 

Password must contain alphabet characters in lower case (a-z)

upper 

Password must contain alphabet characters in upper case (A-Z)

digits 

Password must contain digits (0-9)

symbols 

Password must contain punctuation symbols (!"#$%&'()*+,-./:;<=>?@[]^_`{|}~)

Definition at line 19 of file password_generator.h.

◆ PBKDF2

enum CppSecurity::PBKDF2
strong

'PBKDF2' algorithm

Enumerator
HMAC_SHA1 

HMAC-SHA1.

HMAC_SHA256 

HMAC-SHA256.

HMAC_SHA512 

HMAC-SHA512.

Definition at line 17 of file password_hashing_pbkdf2.h.

Function Documentation

◆ operator<<() [1/3]

template<class TOutputStream >
TOutputStream& CppSecurity::operator<< ( TOutputStream &  stream,
CipherAlgorithm  algorithm 
)
inline

Definition at line 12 of file cipher.inl.

◆ operator<<() [2/3]

template<class TOutputStream >
TOutputStream & CppSecurity::operator<< ( TOutputStream &  stream,
PasswordFlags  flags 
)
inline

Stream output: Password flags.

Parameters
stream- Output stream
flags- Password flags
Returns
Output stream

Definition at line 12 of file password_generator.inl.

◆ operator<<() [3/3]

template<class TOutputStream >
TOutputStream & CppSecurity::operator<< ( TOutputStream &  stream,
PBKDF2  algorithm 
)
inline

Stream output: 'PBKDF2' algorithm.

Parameters
stream- Output stream
algorithm- 'PBKDF2' algorithm
Returns
Output stream

Definition at line 12 of file password_hashing_pbkdf2.inl.

Variable Documentation

◆ version

const char CppSecurity::version[] = "1.1.1.0"

Project version.

Definition at line 31 of file version.h.