File: decode-highbit-prefix.sh

package info (click to toggle)
libbase58 0.1.4-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 180 kB
  • sloc: ansic: 288; makefile: 58; sh: 32
file content (3 lines) | stat: -rw-r--r-- 94 bytes parent folder | download | duplicates (4)
1
2
3
#!/bin/sh
hex=$(echo 993233 | xxd -r -p | base58 -d 25 || echo FAIL)
test "x${hex}" = "xFAIL"