citadel

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

hashcash-mail (121B)


      1 
      2 #!/usr/bin/env bash
      3 
      4 email=${1:-"jb55@jb55.com"}
      5 hcash=$(hashcash -mb26 "$email")
      6 
      7 sed "/^From:.*/i X-Hashcash: $hcash"