#!/bin/csh -f # encrypt # ------------------------------------------------------------------------------ # Shell script to run the Bristle encrypter. # ------------------------------------------------------------------------------ # Usage: See Usage section below or run with no arguments to see usage. # Assumptions: # Effects: # - Reads string from command line argument and writes to stdout. # Notes: # Implementation Notes: # Portability Issues: # Revision History: # $Log$ # ------------------------------------------------------------------------------ if ($#argv < 2 || "$1" == "-h" || "$1" == "--help") then echo "Usage: $0:t -decrypt string" echo " Decrypts an encrypted string" echo " $0:t -encrypt string" echo " Encrypts a string" exit 1 endif java -classpath /Users/fred/fred/lib/bristle.jar 'com.bristle.javalib.security.Encrypter$Tester' $*:q