public static void GenerateSha256Hash(ReadOnlySpan <byte> data, Span <byte> hashBuffer) { var sha256 = new Sha256Impl(); sha256.Initialize(); sha256.Update(data); sha256.GetHash(hashBuffer); }
public void GetHash(Span <byte> hashBuffer) { _baseHash.GetHash(hashBuffer); }