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