Delegate EcdhHashFunction
- Namespace
- Secp256k1Net
- Assembly
- Secp256k1.Net.dll
A pointer to a function that hashes an EC point to obtain an ECDH secret
public delegate int EcdhHashFunction(Span<byte> output, ReadOnlySpan<byte> x32, ReadOnlySpan<byte> y32, nint data)
Parameters
outputSpan<byte>pointer to an array to be filled by the function
x32ReadOnlySpan<byte>pointer to a 32-byte x coordinate
y32ReadOnlySpan<byte>pointer to a 32-byte y coordinate
datanintarbitrary data pointer that is passed through
Returns
- int
1 on success, 0 on failure.