S2k
Memory-hard, salted key generation using Argon2 hash algorithm.
Salted key generation. A single iteration of a hash function with a (unique) salt.
Salted and iterated key generation. Multiple iterations of a hash function, with a salt.
Simple key generation. A single non-salted iteration of a hash function.
The hash algorithm.
The iteration count
The protection mode - only if GnuDummyS2K
public static S2k GenerateSaltedAndIterated(SecureRandom secureRandom, HashAlgorithmTag hashAlgorithm, int itCount)
The IV for the key generation algorithm.