/// <summary>Hashes a byte array using the default algorithm (This is what you want to use)</summary> /// <param name="message">The message.</param> /// <returns></returns> public static byte[] Hash(byte[] message) { var buffer = new byte[SHA512_BYTES]; SodiumLibrary.crypto_hash(buffer, message, message.Length); return(buffer); }