0

https://testnet.binance.vision/

bottom of it has the following :

# Sign the request:
timestamp=$(date +%s000)
api_params_with_timestamp="$API_PARAMS&timestamp=$timestamp"
signature=$(echo -n "$api_params_with_timestamp" \
            | openssl dgst -sha256 -sign "$PRIVATE_KEY_PATH" \
            | openssl enc -base64 -A)

I like to do signature sha256 sign with openssl function call in my c source, but I can not figure out how , is there any document that I can refer to ?!

kiner_shah
  • 3,939
  • 7
  • 23
  • 37
barfatchen
  • 1,630
  • 2
  • 24
  • 48
  • 1
    See [this](https://stackoverflow.com/a/60580965/4688321) and [this](https://wiki.openssl.org/index.php/EVP_Signing_and_Verifying). – kiner_shah Feb 14 '23 at 10:07

0 Answers0