Skip to main content

algorithm-name

// Create default encoder or decoder
MteEnc mteEncoder = new MteEnc();

// Convert from string to Algorithm
MteDrbgs drbg = mteEncoder.GetDrbgsAlgo("mte_drbgs_ctr_aes128_df");
MteVerifiers verifier = mteEncoder.GetVerifiersAlgo("mte_verifiers_t64_crc32");
MteHashes hash = mteEncoder.GetHashesAlgo("mte_hashes_sha256");
MteCiphers cipher = mteEncoder.GetCiphersAlgo("mte_ciphers_aes256_ctr");

// Get Algorithm name in a string
string drbgStringName = mteEncoder.GetDrbgsName(drbg);
string verifierStringName = mteEncoder.GetVerifiersName(verifier);
string hashStringName = mteEncoder.GetHashesName(hash);
string cipherStringName = mteEncoder.GetCiphersName(cipher);