public override string GetSalt(int length) { RNGCryptoServiceProvider random = new RNGCryptoServiceProvider(); Byte[] salt = new Byte[length / 2]; random.GetBytes(salt); return BytesToHex(salt); }