0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-21 21:49:51 +01:00
posthog/hogvm/__tests__/__snapshots__/crypto.hoge
Marcus Hof 41e86f6519
feat(cdp): make hash functions return null if the input is null (#26311)
Co-authored-by: Marius Andra <marius.andra@gmail.com>
2024-11-20 13:16:03 +00:00

6 lines
532 B
Plaintext

["_H", 1, 32, "this is a secure string", 32, "string:", 36, 0, 2, "print", 2, 35, 32, "md5Hex(string):", 36, 0, 2,
"md5Hex", 1, 2, "print", 2, 35, 32, "md5Hex(null):", 31, 2, "md5Hex", 1, 2, "print", 2, 35, 32, "sha256Hex(string):",
36, 0, 2, "sha256Hex", 1, 2, "print", 2, 35, 32, "sha256Hex(null):", 31, 2, "sha256Hex", 1, 2, "print", 2, 35, 32, "1",
32, "string", 32, "more", 32, "keys", 43, 4, 32, "data:", 36, 1, 2, "print", 2, 35, 32, "sha256HmacChainHex(data):", 36,
1, 2, "sha256HmacChainHex", 1, 2, "print", 2, 35, 35, 35]