This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Based on https://gist.github.com/halmartin/28e013a9034be04777073bccc918cb95 (python) | |
// And uses Crc32 and Base32 from other github code | |
// Code should run on .NET Framework 4.7+ | |
using System.Security.Cryptography; | |
// The 3 constants is byte definitions inside the library mentioned in the original code | |
// These should be HEX encoded to strings without leading 0x, i.e. "0d0a" etc. | |
const string AES_IV = "";// This is one of the values you need to dig out of the library; | |
const string HMAC_KEY = "";// This is one of the values you need to dig out of the library | |
const string HMAC_MSG_RAW = "";// This is one of the values you need to dig out of the library |
OlderNewer