aboutsummaryrefslogtreecommitdiff
path: root/challenge-015/ruben-westerberg/README
blob: e79fa3142be3754838d379e21879f03b5087d8f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Solution by Ruben Westerberg

ch-1.pl and ch-1.p6
===
Run the script to generate the first 10 strong and 10 weak prime numbers

ch-2.pl and ch-2.p6
===
Encode and decode with Vigenère cipher. Ascii leters (upper and lower case), space, and sample pucctuation characters are supported.
Operation  is performed on a line by line basis from standard input and printed to standard output

To encode:
	ch-2.pl KEY
		where KEY is the key to encode with. Input data is read from stdin
To decode:
	ch-2.pl -d KEY
		where KEY is the key used for encoding. Input data is read from stdin

Loopback test:
	./ch-2.pl "my key" | ./ch-2.pl -d "my key"