| Crates.io | cryptocol |
| lib.rs | cryptocol |
| version | 0.17.1 |
| created_at | 2022-06-04 06:09:55.395868+00 |
| updated_at | 2025-09-22 01:30:45.353111+00 |
| description | A cryptographic library that includes big number arithmatic operation, hash algorithms, symmetric-key cryptographic encryption/decryption algorithms, asymmetric-key (public-key) cryptographic encryption/decryption algorithms, pseudo random number generators, etc. Hash algorithms includes MD4, MD5, SHA224, SHA256, SHA384, SHA512, SHA3, etc. Symmetric key encryption algorithms include DES, AES, etc. Public key encryption algrorithms include RSA, ECC, etc. |
| homepage | |
| repository | |
| max_upload_size | |
| id | 599580 |
| size | 31,876,295 |
This crate is optimized for Little-endian CPUs because Little-Endian CPUs are far more popular than Big-endian CPUs. For the information about Endianness (including Little-endian and Big-endian) Read more.
This crate is just experimental for Big-endian CPUs. So, you are not encouraged to use this crate for Big-endian CPUs for serious purpose. Only use this crate for Big-endian CPUs with your own full responsibility.
This crate Cryptocol is planned to provide the following functionalities. The checked items have already been implemented including documentation at least 95%. The unchecked items have been implemented including documentation less than 95% or have not yet even been started to implement.
ShortUnion,
IntUnion,
LongUnion,
LongerUnion,
SizeUnion,
SharedValues, and
SharedArraysSmallUIntBigUInt.BigUInt, you may find it at
BigUInt_More,
BigUInt_Modular,
BigUInt_Prime, and
BigUInt_Panic_Free.Keccak_GenericSHA2_512_t_GenericSHA2_512_GenericSHA2_256_GenericSHA1_GenericMD5_GenericMD4_GenericRijndael_Generic,
ECB_PKCS7,
ECB_ISO,
CBC_PKCS7,
CBC_ISO,
PCBC_PKCS7,
PCBC_ISO,
CFB,
OFB, and
CTR.DES_Generic,
ECB_PKCS7,
ECB_ISO,
CBC_PKCS7,
CBC_ISO,
PCBC_PKCS7,
PCBC_ISO,
CFB,
OFB, and
CTR.ECB_PKCS7,
ECB_ISO,
CBC_PKCS7,
CBC_ISO,
PCBC_PKCS7,
PCBC_ISO,
CFB,
OFB, and
CTR.
However, it is considered that 2AES, 3AES, 4AES, etc. are not very meaningful because AES-256, Rijndael_128_384, Rijndael_128_512, etc. are considered to be better than 2AES, 3AES, 4AES, etc.ECB_PKCS7,
ECB_ISO,
CBC_PKCS7,
CBC_ISO,
PCBC_PKCS7,
PCBC_ISO,
CFB,
OFB, and
CTR.Random_Generic and
trait Random_EngineRandom_BIG_KECCAK_1024,
Random_SHA3_512,
Random_SHA2_512,
Any_SHAKE_256,
Any_SHAKE_128,
Any_SHA3_512,
Any_SHA3_256,
Any_SHA2_512,
Any_SHA2_256,
Any_SHA1,
Any_SHA0,
Any_MD5, and
Any_MD4.Random_Rijndael,
Any_Rijndael, and
Any_DES.Any_Num_C.When the implementation of all the above functionalitis are completed, the version number 1.0.0.0 will be given. After that whenever another functionality is added to this crate, the version number will get higher beyond 1.0.0.0. Before the version number 1.0.0.0, the maximum version number will be 0.21.x.x since there are all twenty-five functionalities listed above. So, for example, even if the version number is 0.5.0.0, it does not mean that 50% of all functionalities are implemented.
Refer to the file BreakingChanges.md in this crate.