Modules§
- rsa_
basic - rsa.rs may be too big
because of documentation and plenty of examples.
So, in order to provide documentation without
docs.rs’s failing generating documentation, dummy codes were made and documentation and examples were moved to rsa_basic.rs.
Structs§
- Asymmetric_
PRNG_ Creator_ AES_ 128 - A PRNG creator that produces a
Random_Genericinstance using the AES_128 hash algorithm as its underlying engine. - Asymmetric_
PRNG_ Creator_ BIG_ KECCAK_ 1024 - A PRNG creator that produces a
Random_Genericinstance using the BIG_KECCAK_1024 hash algorithm as its underlying engine. - Asymmetric_
PRNG_ Creator_ CPRNG_ Engine - A PRNG creator that produces a
Random_Genericinstance using the CPRNG_Engine hash algorithm as its underlying engine. - Asymmetric_
PRNG_ Creator_ DES - A PRNG creator that produces a
Random_Genericinstance using the DES hash algorithm as its underlying engine. - Asymmetric_
PRNG_ Creator_ MD4 - A PRNG creator that produces a
Random_Genericinstance using the MD4 hash algorithm as its underlying engine. - Asymmetric_
PRNG_ Creator_ MD5 - A PRNG creator that produces a
Random_Genericinstance using the MD5 hash algorithm as its underlying engine. - Asymmetric_
PRNG_ Creator_ SHA0 - A PRNG creator that produces a
Random_Genericinstance using the SHA0 hash algorithm as its underlying engine. - Asymmetric_
PRNG_ Creator_ SHA1 - A PRNG creator that produces a
Random_Genericinstance using the SHA1 hash algorithm as its underlying engine. - Asymmetric_
PRNG_ Creator_ SHA2_ 256 - A PRNG creator that produces a
Random_Genericinstance using the SHA2_256 hash algorithm as its underlying engine. - Asymmetric_
PRNG_ Creator_ SHA2_ 512 - A PRNG creator that produces a
Random_Genericinstance using the SHA2_512 hash algorithm as its underlying engine. - Asymmetric_
PRNG_ Creator_ SHA3_ 256 - A PRNG creator that produces a
Random_Genericinstance using the SHA3_256 hash algorithm as its underlying engine. - Asymmetric_
PRNG_ Creator_ SHA3_ 512 - A PRNG creator that produces a
Random_Genericinstance using the SHA3_512 hash algorithm as its underlying engine. - Asymmetric_
PRNG_ Creator_ SHAKE_ 128 - A PRNG creator that produces a
Random_Genericinstance using the SHAKE_128 hash algorithm as its underlying engine. - Asymmetric_
PRNG_ Creator_ SHAKE_ 256 - A PRNG creator that produces a
Random_Genericinstance using the SHAKE_256 hash algorithm as its underlying engine. - RSA_
Generic - RSA (Ron Rivest, Adi Shamir, Leonard Adleman) is asymmetric-key encryption/decryption algorithm for the encryption of digital data
Traits§
- Hash
- OAEP
- This trait OAEP is based on PKCS #1 ver. 2.1. The RSA OAEP (Optimal Asymmetric Encryption Padding) format is a Feistel network-based padding scheme designed to provide “plaintext awareness,” preventing an attacker from modifying the ciphertext without being detected.
- PKCS1
V15 - This trait PKCS1V15 is based on PKCS #1 ver. 1.5. The RSA PKCS #1 v1.5
padding format is designed to format a message before RSA encryption to
ensure that the resulting block matches the length of the RSA modulus (
n) and introduces randomness for security. - PRNG