-
+ 09817D1F5BCDDE408061A06D9A55F4C1D38976F629834EA7904229C7DB50006F5F31C0E19753B9F89CA30B465475A66EF39113DC376A79EFA65F392B1AB54F49
lamport-parachute/lamport_priv2pub.sh
(0 . 0)(1 . 11)
74 #!/bin/bash
75
76 if [ $# -lt 1 ]
77 then
78 echo "Usage: ./`basename $0` HASHUTIL < PRIVKEY.TXT > PUBKEY.TXT"
79 exit 1
80 fi
81
82 for x in $(cat) ; do
83 echo -n $x | xxd -r -p | $1 | cut -d ' ' -f1 ;
84 done | xargs -n 2