#!/bin/sh inputs="machinespeed.txt cipherspeed.txt machines.txt machinedesc.txt ciphers-tograph.txt olddatabase.txt" cat $inputs | sh onegraph.do \ cipher40k 'Cycles per byte to set up key, set up nonce, and encrypt 40-byte packet' \ > cipher40k.png pngtopnm < cipher40k.png | pnmscale 0.25 | pnmtopng > cipher40k-4.png pngtopnm < cipher40k.png | pnmscale 0.0625 | pnmtopng > cipher40k-16.png cat $inputs | sh onegraph.do \ cipher40 'Cycles per byte to set up nonce and encrypt 40-byte packet' \ > cipher40.png pngtopnm < cipher40.png | pnmscale 0.25 | pnmtopng > cipher40-4.png cat $inputs | sh onegraph.do \ cipher576 'Cycles per byte to encrypt 576-byte packet' \ > cipher576.png pngtopnm < cipher576.png | pnmscale 0.25 | pnmtopng > cipher576-4.png cat $inputs | sh onegraph.do \ cipher1500 'Cycles per byte to encrypt 1500-byte packet' \ > cipher1500.png pngtopnm < cipher1500.png | pnmscale 0.25 | pnmtopng > cipher1500-4.png cat $inputs | sh onegraph.do \ cipherlong 'Cycles per byte to encrypt one long stream' \ > cipherlong.png pngtopnm < cipherlong.png | pnmscale 0.25 | pnmtopng > cipherlong-4.png cat $inputs | sh onegraph.do \ cipheragility 'Cycles per byte to encrypt many parallel streams in 256-byte blocks' \ > cipheragility.png pngtopnm < cipheragility.png | pnmscale 0.25 | pnmtopng > cipheragility-4.png