public static byte[] Blake2(byte[] message) { return(GenericHash.Hash(message, key: (byte[])null, Constants.HashLength)); }
public void TestGenerateKey() { Assert.AreEqual(64, GenericHash.GenerateKey().Length); }
public static byte[] Blake2(byte[] message, byte[] key) { return(GenericHash.Hash(message, key, Constants.HashLength)); }