Created
April 28, 2022 16:01
-
-
Save neonphog/73e6d233a867cbb1d0cc5e5df39c9f24 to your computer and use it in GitHub Desktop.
convert bytes into holochain hash representation
This file contains 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
node -e "console.log('u' + Buffer.concat([Buffer.from([0x84, 0x20, 0x24]), Buffer.from([185, 230, 53, 221, 160, 229, 138, 141, 107, 229, 5, 250, 72, 250, 250, 103, 11, 184, 96, 158, 155, 8, 174, 93, 105, 237, 202, 231, 1, 51, 169, 34])]).toString('base64').replace(/\+/g, '-').replace(/\//g, '_').replace(/=/g, ''))" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment