3 prog=`echo $0 | sed 's:.*/::'`
5 lc=`echo $alg | tr A-Z a-z`
8 # Test vectors for $alg
10 # Generated on `date +%Y-%m-%d` by $prog
16 function mangle(x, y) {
20 while (length(x) > 1) {
21 y = y substr(x, length(x) - 1);
22 x = substr(x, 1, length(x) - 2);
28 /^KEY=/ { key = mangle($2); }
29 /^PT=/ { pt = mangle($2); }
32 printf(" %s\n %s\n %s;\n", key, pt, ct);