Closed jakcron closed 4 years ago
mbedTLS
tc::cli
class FormatUtil
tc::crypto
class Aes128EcbEncryptor
EncryptAes128Ecb()
DecryptAes128Ecb()
class Aes192EcbEncryptor
EncryptAes192Ecb()
DecryptAes192Ecb()
class Aes256EcbEncryptor
EncryptAes256Ecb()
DecryptAes256Ecb()
class Aes128CtrEncryptor
EncryptAes128Ctr()
DecryptAes128Ctr()
class Aes192CtrEncryptor
EncryptAes192Ctr()
DecryptAes192Ctr()
class Aes256CtrEncryptor
EncryptAes256Ctr()
DecryptAes256Ctr()
class Aes128CbcEncryptor
EncryptAes128Cbc()
DecryptAes128Cbc()
class Aes192CbcEncryptor
EncryptAes192Cbc()
DecryptAes192Cbc()
class Aes256CbcEncryptor
EncryptAes256Cbc()
DecryptAes256Cbc()
class Aes128XtsEncryptor
EncryptAes128Xts()
DecryptAes128Xts()
class Aes256XtsEncryptor
EncryptAes256Xts()
DecryptAes256Xts()
class Md5Generator
GenerateMd5Hash()
class Sha1Generator
GenerateSha1Hash()
class Sha256Generator
GenerateSha256Hash()
class Sha512Generator
GenerateSha512Hash()
class HmacMd5Generator
GenerateHmacMd5Mac()
class HmacSha1Generator
GenerateHmacSha1Mac()
class HmacSha256Generator
GenerateHmacSha256Mac()
class HmacSha512Generator
GenerateHmacSha512Mac()
class Pbkdf1Md5Deriver
DeriveKeyPbkdf1Md5()
class Pbkdf1Sha1Deriver
DeriveKeyPbkdf1Sha1()
class Pbkdf2Sha1Deriver
DeriveKeyPbkdf2Sha1()
class Pbkdf2Sha256Deriver
DeriveKeyPbkdf2Sha256()
class Pbkdf2Sha512Deriver
DeriveKeyPbkdf2Sha512()
class PsuedoRandomByteGenerator
GeneratePseudoRandomBytes()
struct RsaKey
struct RsaPublicKey
struct RsaPrivateKey
class RsaKeyGenerator
GenerateRsaKey()
class Rsa1024Pkcs1Md5Signer
SignRsa1024Pkcs1Md5()
VerifyRsa1024Pkcs1Md5()
class Rsa2048Pkcs1Md5Signer
SignRsa2048Pkcs1Md5()
VerifyRsa2048Pkcs1Md5()
class Rsa4096Pkcs1Md5Signer
SignRsa4096Pkcs1Md5()
VerifyRsa4096Pkcs1Md5()
class Rsa1024Pkcs1Sha1Signer
SignRsa1024Pkcs1Sha1()
VerifyRsa1024Pkcs1Sha1()
class Rsa2048Pkcs1Sha1Signer
SignRsa2048Pkcs1Sha1()
VerifyRsa2048Pkcs1Sha1()
class Rsa4096Pkcs1Sha1Signer
SignRsa4096Pkcs1Sha1()
VerifyRsa4096Pkcs1Sha1()
class Rsa1024Pkcs1Sha256Signer
SignRsa1024Pkcs1Sha256()
VerifyRsa1024Pkcs1Sha256()
class Rsa2048Pkcs1Sha256Signer
SignRsa2048Pkcs1Sha256()
VerifyRsa2048Pkcs1Sha256()
class Rsa4096Pkcs1Sha256Signer
SignRsa4096Pkcs1Sha256()
VerifyRsa4096Pkcs1Sha256()
class Rsa1024Pkcs1Sha512Signer
SignRsa1024Pkcs1Sha512()
VerifyRsa1024Pkcs1Sha512()
class Rsa2048Pkcs1Sha512Signer
SignRsa2048Pkcs1Sha512()
VerifyRsa2048Pkcs1Sha512()
class Rsa4096Pkcs1Sha512Signer
SignRsa4096Pkcs1Sha512()
VerifyRsa4096Pkcs1Sha512()
class Rsa1024PssSha256Signer
SignRsa1024PssSha256()
VerifyRsa1024PssSha256()
class Rsa2048PssSha256Signer
SignRsa2048PssSha256()
VerifyRsa2048PssSha256()
class Rsa4096PssSha256Signer
SignRsa4096PssSha256()
VerifyRsa4096PssSha256()
class Rsa1024PssSha512Signer
SignRsa1024PssSha512()
VerifyRsa1024PssSha512()
class Rsa2048PssSha512Signer
SignRsa2048PssSha512()
VerifyRsa2048PssSha512()
class Rsa4096PssSha512Signer
SignRsa4096PssSha512()
VerifyRsa4096PssSha512()
class Rsa1024OaepSha256Encryptor
EncryptRsa1024OaepSha256()
DecryptRsa1024OaepSha256()
class Rsa2048OaepSha256Encryptor
EncryptRsa2048OaepSha256()
DecryptRsa2048OaepSha256()
class Rsa4096OaepSha256Encryptor
EncryptRsa4096OaepSha256()
DecryptRsa4096OaepSha256()
class Rsa2048OaepSha512Encryptor
EncryptRsa2048OaepSha512()
DecryptRsa2048OaepSha512()
class Rsa4096OaepSha512Encryptor
EncryptRsa4096OaepSha512()
DecryptRsa4096OaepSha512()
tc::os
getEnvVar()
umain()
BUILDING.md
LICENSE
tc::ByteData
.get()
.data()
std::initializer_list<byte_t>
operator[]
Changes since v0.3.0
Added
mbedTLS
dependency for core cryptography implementation.tc::cli
):class FormatUtil
- A collection of utilities to format binary data as strings and vice-versa.tc::crypto
):class Aes128EcbEncryptor
- Class for AES-ECB encryption/decryption with a keysize of 128 bits.EncryptAes128Ecb()
.DecryptAes128Ecb()
.class Aes192EcbEncryptor
- Class for AES-ECB encryption/decryption with a keysize of 192 bits.EncryptAes192Ecb()
.DecryptAes192Ecb()
.class Aes256EcbEncryptor
- Class for AES-ECB encryption/decryption with a keysize of 256 bits.EncryptAes256Ecb()
.DecryptAes256Ecb()
.class Aes128CtrEncryptor
- Class for AES-CTR encryption/decryption with a keysize of 128 bits.EncryptAes128Ctr()
.DecryptAes128Ctr()
.class Aes192CtrEncryptor
- Class for AES-CTR encryption/decryption with a keysize of 192 bits.EncryptAes192Ctr()
.DecryptAes192Ctr()
.class Aes256CtrEncryptor
- Class for AES-CTR encryption/decryption with a keysize of 256 bits.EncryptAes256Ctr()
.DecryptAes256Ctr()
.class Aes128CbcEncryptor
- Class for AES-CBC encryption/decryption with a keysize of 128 bits.EncryptAes128Cbc()
.DecryptAes128Cbc()
.class Aes192CbcEncryptor
- Class for AES-CBC encryption/decryption with a keysize of 192 bits.EncryptAes192Cbc()
.DecryptAes192Cbc()
.class Aes256CbcEncryptor
- Class for AES-CBC encryption/decryption with a keysize of 256 bits.EncryptAes256Cbc()
.DecryptAes256Cbc()
.class Aes128XtsEncryptor
- Class for AES-XTS encryption/decryption with a keysize of 128 bits.EncryptAes128Xts()
.DecryptAes128Xts()
.class Aes256XtsEncryptor
- Class for AES-XTS encryption/decryption with a keysize of 256 bits.EncryptAes256Xts()
.DecryptAes256Xts()
.class Md5Generator
- Class for calculating MD5 hash.GenerateMd5Hash()
.class Sha1Generator
- Class for calculating SHA-1 hash.GenerateSha1Hash()
.class Sha256Generator
- Class for calculating SHA-256 hash.GenerateSha256Hash()
.class Sha512Generator
- Class for calculating SHA-512 hash.GenerateSha512Hash()
.class HmacMd5Generator
- Class for calculating HMAC-MD5.GenerateHmacMd5Mac()
.class HmacSha1Generator
- Class for calculating HMAC-SHA-1.GenerateHmacSha1Mac()
.class HmacSha256Generator
- Class for calculating HMAC-SHA-256.GenerateHmacSha256Mac()
.class HmacSha512Generator
- Class for calculating HMAC-SHA-512.GenerateHmacSha512Mac()
.class Pbkdf1Md5Deriver
- Class for deriving a key using PBKDF1-MD5.DeriveKeyPbkdf1Md5()
.class Pbkdf1Sha1Deriver
- Class for deriving a key using PBKDF1-SHA-1.DeriveKeyPbkdf1Sha1()
.class Pbkdf2Sha1Deriver
- Class for deriving a key using PBKDF2-SHA-1.DeriveKeyPbkdf2Sha1()
.class Pbkdf2Sha256Deriver
- Class for deriving a key using PBKDF2-SHA-256.DeriveKeyPbkdf2Sha256()
.class Pbkdf2Sha512Deriver
- Class for deriving a key using PBKDF2-SHA-512.DeriveKeyPbkdf2Sha512()
.class PsuedoRandomByteGenerator
- Class for generating random data.GeneratePseudoRandomBytes()
.struct RsaKey
- Struct for storing a RSA key. For use with RSA calculations.struct RsaPublicKey
- This extends RsaKey, exposing a constructor to create a RSA public key from a modulus.struct RsaPrivateKey
- This extends RsaKey, exposing a constructor to create a RSA private key from a modulus and private exponent.class RsaKeyGenerator
- Class for generating RSA keys. Ther underlying PRNG algorithm is CTR_DRBG.GenerateRsaKey()
.class Rsa1024Pkcs1Md5Signer
- Class for generating and verifying RSA1024-PKCS1-MD5 signatures.SignRsa1024Pkcs1Md5()
VerifyRsa1024Pkcs1Md5()
class Rsa2048Pkcs1Md5Signer
- Class for generating and verifying RSA2048-PKCS1-MD5 signatures.SignRsa2048Pkcs1Md5()
VerifyRsa2048Pkcs1Md5()
class Rsa4096Pkcs1Md5Signer
- Class for generating and verifying RSA4096-PKCS1-MD5 signatures.SignRsa4096Pkcs1Md5()
VerifyRsa4096Pkcs1Md5()
class Rsa1024Pkcs1Sha1Signer
- Class for generating and verifying RSA1024-PKCS1-SHA-1 signatures.SignRsa1024Pkcs1Sha1()
VerifyRsa1024Pkcs1Sha1()
class Rsa2048Pkcs1Sha1Signer
- Class for generating and verifying RSA2048-PKCS1-SHA-1 signatures.SignRsa2048Pkcs1Sha1()
VerifyRsa2048Pkcs1Sha1()
class Rsa4096Pkcs1Sha1Signer
- Class for generating and verifying RSA4096-PKCS1-SHA-1 signatures.SignRsa4096Pkcs1Sha1()
VerifyRsa4096Pkcs1Sha1()
class Rsa1024Pkcs1Sha256Signer
- Class for generating and verifying RSA1024-PKCS1-SHA2-256 signatures.SignRsa1024Pkcs1Sha256()
VerifyRsa1024Pkcs1Sha256()
class Rsa2048Pkcs1Sha256Signer
- Class for generating and verifying RSA2048-PKCS1-SHA2-256 signatures.SignRsa2048Pkcs1Sha256()
VerifyRsa2048Pkcs1Sha256()
class Rsa4096Pkcs1Sha256Signer
- Class for generating and verifying RSA4096-PKCS1-SHA2-256 signatures.SignRsa4096Pkcs1Sha256()
VerifyRsa4096Pkcs1Sha256()
class Rsa1024Pkcs1Sha512Signer
- Class for generating and verifying RSA1024-PKCS1-SHA2-512 signatures.SignRsa1024Pkcs1Sha512()
VerifyRsa1024Pkcs1Sha512()
class Rsa2048Pkcs1Sha512Signer
- Class for generating and verifying RSA2048-PKCS1-SHA2-512 signatures.SignRsa2048Pkcs1Sha512()
VerifyRsa2048Pkcs1Sha512()
class Rsa4096Pkcs1Sha512Signer
- Class for generating and verifying RSA4096-PKCS1-SHA2-512 signatures.SignRsa4096Pkcs1Sha512()
VerifyRsa4096Pkcs1Sha512()
class Rsa1024PssSha256Signer
- Class for generating and verifying RSA1024-PSS-SHA2-256 signatures.SignRsa1024PssSha256()
VerifyRsa1024PssSha256()
class Rsa2048PssSha256Signer
- Class for generating and verifying RSA2048-PSS-SHA2-256 signatures.SignRsa2048PssSha256()
VerifyRsa2048PssSha256()
class Rsa4096PssSha256Signer
- Class for generating and verifying RSA4096-PSS-SHA2-256 signatures.SignRsa4096PssSha256()
VerifyRsa4096PssSha256()
class Rsa1024PssSha512Signer
- Class for generating and verifying RSA1024-PSS-SHA2-512 signatures.SignRsa1024PssSha512()
VerifyRsa1024PssSha512()
class Rsa2048PssSha512Signer
- Class for generating and verifying RSA2048-PSS-SHA2-512 signatures.SignRsa2048PssSha512()
VerifyRsa2048PssSha512()
class Rsa4096PssSha512Signer
- Class for generating and verifying RSA4096-PSS-SHA2-512 signatures.SignRsa4096PssSha512()
VerifyRsa4096PssSha512()
class Rsa1024OaepSha256Encryptor
- Class for RSA1024-OAEP-SHA2-256 encryption/decryption.EncryptRsa1024OaepSha256()
DecryptRsa1024OaepSha256()
class Rsa2048OaepSha256Encryptor
- Class for RSA2048-OAEP-SHA2-256 encryption/decryption.EncryptRsa2048OaepSha256()
DecryptRsa2048OaepSha256()
class Rsa4096OaepSha256Encryptor
- Class for RSA4096-OAEP-SHA2-256 encryption/decryption.EncryptRsa4096OaepSha256()
DecryptRsa4096OaepSha256()
class Rsa2048OaepSha512Encryptor
- Class for RSA2048-OAEP-SHA2-512 encryption/decryption.EncryptRsa2048OaepSha512()
DecryptRsa2048OaepSha512()
class Rsa4096OaepSha512Encryptor
- Class for RSA4096-OAEP-SHA2-512 encryption/decryption.EncryptRsa4096OaepSha512()
DecryptRsa4096OaepSha512()
tc::os
):getEnvVar()
- Get environment variable.umain()
- Multi-platform UTF-8 entry point.Removed
Renamed
Changes
BUILDING.md
.LICENSE
.tc::ByteData
was revised:.get()
->.data()
.std::initializer_list<byte_t>
constructor.operator[]
.