예제 #1
0
        // Token: 0x06000060 RID: 96 RVA: 0x0000A9B8 File Offset: 0x00008BB8
        public static string Sign(string key, string message)
        {
            string result;

            using (HMACSHA512 hmacsha = new HMACSHA512(Encoding.UTF8.GetBytes(key)))
            {
                byte[] buff = hmacsha.ComputeHash(Encoding.UTF8.GetBytes(message));
                result = ExmoApi.ByteToString(buff);
            }
            return(result);
        }