Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3780

Crypto.HMAC differences MacOS/Windows

$
0
0

Hi All,

So, I’m making some minor adjustments to an application that was written (and being maintained) in XOJO 2021 r3.1.

The app is basically a semi-custom MFA UI for a 3rd party service. It requires generating a specific string, then SHA1 → EncodeHex the string.

It works fine on MacOS, but fails on Windows due to a completely different SHA1 being generated:

Crypto.HMAC("mySalt","myCustomString", Crypto.Algorithm.SHA1)

Anyone have any insight into why this is the case and if there are any other libraries that might “fix” the issue? Note, I’ve tried Chillkat and it “fails” in the same manner.

2 posts - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 3780

Trending Articles