Jelle
Jelle
Explore posts from servers
CC#
Created by Jelle on 10/16/2023 in #help
❔ HMAC encrypt a string
Though how would you advise I store the api key? It's now coming from a local file but it'll be fetched from a secret store in test/prod environment I hadn't really thought about text encoding
16 replies
CC#
Created by Jelle on 10/16/2023 in #help
❔ HMAC encrypt a string
In the end I snatched up the code in this post: https://stackoverflow.com/questions/11790599/python-hmac-and-c-sharp-hmac Which in the end just returns the same thing except that it's lowercase instead of uppercase lol
16 replies
CC#
Created by Jelle on 10/16/2023 in #help
❔ HMAC encrypt a string
16 replies
CC#
Created by Jelle on 10/16/2023 in #help
❔ HMAC encrypt a string
Oh man I got it working
16 replies
CC#
Created by Jelle on 10/16/2023 in #help
❔ HMAC encrypt a string
Yep
16 replies
CC#
Created by Jelle on 10/16/2023 in #help
❔ HMAC encrypt a string
I think it's because I'm generating it in UTF-8 and then turning that string into a hex instead of directly to hex?
16 replies