citadel

My dotfiles, scripts and nix configs
git clone git://jb55.com/citadel
Log | Files | Refs | README | LICENSE

hashcash-check (135B)


      1 #!/usr/bin/env bash
      2 
      3 hash=$1
      4 bits=$(cut -d: -f2 <<<"$hash")
      5 resource=$(cut -d: -f4 <<<"$hash")
      6 
      7 hashcash -cdb $bits -r $resource $hash