Announcement

Collapse
No announcement yet.

crypto_hmac_sha256 Issue

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    crypto_hmac_sha256 Issue

    I need a little help with this.
    The call I am making is crypto_hmac_sha256( SignString , secretKeyBin, hex, CryptoResult )

    I have taken my key and converted it to binary and I want the output to be in hex but the CryptoResult looks something like:
    WÒù©aŸ^i\ºûÚ÷ÉyNôãøN걌ëW‚

    The format setting for hex does not seem to have any affect at all.

    could someone enlighten me?

    Thanks
    DonB
    Don Barnett
    Farm & Home Supply Center

    #2
    Re: crypto_hmac_sha256 Issue

    Are you passing hex in quotation marks? It needs to be passed as a string.

    Comment

    Working...
    X