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