pub type MD4_Generic_HR_fixed<const N: usize = 4, const ROUND: usize = 48, const K0: u32 = 0, const K1: u32 = 1518500249, const K2: u32 = 1859775393> = MD4_Generic<N, 0x67452301, 0xefcdab89, 0x98badcfe, 0x10325476, ROUND, K0, K1, K2>;Expand description
You have freedom of changing N, ROUND, and K0 ~ K2 for MD4.
§Generic Parameters
You can create your own expanded version of MD4 by changing the generic parameters N, H0 ~ H3, ROUND, K0 ~ K2, R00 ~ R03, R10 ~ R13, and R20 ~ R23.
- N : the size of output. N cannot be 0 or greater than 4. If N is 4, the output is 128 bits, while if N is 1, the output is 32 bits.
- ROUND : the number of rounds. The default value of it is
48(= 16 * 3). - K0 ~ K2 : the added values in hashing process, three u32 values. The default values of K0, K1, and K2 are 0x00000000, 0x5A827999, and 0x6ED9EBA1, respectively (in little endian representation).
Aliased Type§
pub struct MD4_Generic_HR_fixed<const N: usize = 4, const ROUND: usize = 48, const K0: u32 = 0, const K1: u32 = 1518500249, const K2: u32 = 1859775393> { /* private fields */ }