Category "ecdh"

Create secKey form data/hex/bytes using SecKeyCreateWithData give nil

I'm new to encryption. i want to create public seckey from data but i always get nil. Please help me. I need this public key as seckey to create a shared secret

Convert this Nodejs Function to C# Function

I have this function in NodeJS and I need some help to convert to C#, my problem is get the 'buf' from randomBytes NodeJS Function: function generateKeys() {