public byte[] GetIndividualKeyInBytes(byte[] keyPassword, byte[] individualSalt) { var password = Convert.ToBase64String(keyPassword); return(RijndaelAlgorithm.GetKeyInBytes(password, individualSalt, _hashAlgorithm, 10, _keySize)); }
public byte[] GetKeyInBytes(string password) { return(RijndaelAlgorithm.GetKeyInBytes(password, SaltValue, _hashAlgorithm, PasswordIterations, _keySize)); }