public void NeoScrypt_Hash()
        {
            var hasher = new NeoScrypt(0);
            var result = hasher.Digest(testValue2).ToHexString();

            Assert.Equal("7915d56de262bf23b1fb9104cf5d2a13fcbed2f6b4b9b657309c222b09f54bc0", result);
        }
        public void NeoScrypt_Hash_Should_Throw_On_Null_Input()
        {
            var hasher = new NeoScrypt(0);

            Assert.Throws <ArgumentNullException>(() => hasher.Digest(null));
        }
 public static void neoscrypt_fastkdf(string password, uint password_len, byte[] salt, uint salt_len, uint N, ref byte[] output, uint output_len)
 {
     NeoScrypt.neoscrypt_fastkdf(Encoding.ASCII.GetBytes(password), password_len, salt, salt_len, N, ref output, output_len);
 }
 public static void neoscrypt_blake2s(string input, uint input_size, byte[] key, byte key_size, ref byte[] output, byte output_size)
 {
     NeoScrypt.neoscrypt_blake2s(Encoding.ASCII.GetBytes(input), input_size, key, key_size, ref output, output_size);
 }
 public static void neoscrypt(string password, ref byte[] output, uint profile)
 {
     NeoScrypt.neoscrypt(Encoding.ASCII.GetBytes(password), ref output, profile);
 }