Last active
January 3, 2025 14:57
-
-
Save mrwilson/088a2fee6eec83e32d6cd18542d0f6e4 to your computer and use it in GitHub Desktop.
uiua-scratch
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
BaseSixtyFourDigits ← "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/" | |
Hex ← ⌅( | |
⊏⊙HexDigits°⋯≡⇌↯∞_4 | |
| ≡⇌⋯⊗⊙HexDigits) | |
B₆₄ ← ⌅( | |
⊏⊙BaseSixtyFourDigits°⋯≡⇌↯∞_6 | |
| ⋯⊗⊙BaseSixtyFourDigits | |
) | |
┌─╴test | |
Sample ← "49276d206b696c6c696e6720796f757220627261696e206c696b65206120706f69736f6e6f7573206d757368726f6f6d" | |
"SSdtIGtpbGxpbmcgeW91ciBicmFpbiBsaWtlIGEgcG9pc29ub3VzIG11c2hyb29t" | |
⍤⤙≍ B₆₄°Hex Sample | |
└─╴ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment