0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-22 08:40:03 +01:00
posthog/hogvm/__tests__/crypto.hog

9 lines
280 B
Plaintext
Raw Normal View History

let string := 'this is a secure string'
print('string:', string)
print('md5Hex(string):', md5Hex(string))
print('sha256Hex(string):', sha256Hex(string))
let data := ['1', 'string', 'more', 'keys']
print('data:', data)
print('sha256HmacChainHex(data):', sha256HmacChainHex(data))