public void Digest(ReadOnlySpan <byte> data, Span <byte> result, params object[] extra) { Contract.Requires <ArgumentException>(result.Length >= 32); fixed(byte *input = data) { fixed(byte *output = result) { Multihash.groestl(input, output, (uint)data.Length); } } }