Example #1
0
        private void RunPasswordBasedKeyDerivationFunction()
        {
            Console.WriteLine("Password Based Key Derivation Functions started");


            CryptographyExample.HashUsingPasswordBasedKeyDerivationFunction(_tempPassword, 100);
            CryptographyExample.HashUsingPasswordBasedKeyDerivationFunction(_tempPassword, 1000);
            CryptographyExample.HashUsingPasswordBasedKeyDerivationFunction(_tempPassword, 10000);
            CryptographyExample.HashUsingPasswordBasedKeyDerivationFunction(_tempPassword, 50000);
            CryptographyExample.HashUsingPasswordBasedKeyDerivationFunction(_tempPassword, 100000);
            CryptographyExample.HashUsingPasswordBasedKeyDerivationFunction(_tempPassword, 200000);
            CryptographyExample.HashUsingPasswordBasedKeyDerivationFunction(_tempPassword, 500000);


            Console.WriteLine("Password Based Key Derivation Functions ended");
        }