A while ago I wrote some code to search for human readable test
vectors for Arnold Reinhold's ciphersaber-2
(http://ciphersaber.gurus.com).  

Ciphersaber-2 is designed to be simple enough to be implemented from
memory, to avoid the risk of being caught with crypto software on your
computer for use in regimes which have outlawed encryption.  But the
only available test vectors are a big string of hex digits which
probably the implementor will find difficult to remember, and it is
quite easy to make implementation mistakes implementing ciphers -- and
the risks of accidentally using a incorrectly implemented and weak
variant of ciphersaber-2 are significant.  It would be useful
therefore for the stated purpose of ciphersaber-2 to have human
readable and memorable test vectors.

The software for exploring for human readable test vector phrases and
information on using it is here:

        http://www.cypherspace.org/adam/csvec/

I have not myself spent much time looking for satisfyingly witty,
topical and memorable phrases. I'll appoint Arnold as the judge and
let you the reader see what you can come up with using the
software. The winning test-vector phrases will go here. Perhaps Arnold
will make some honorary 2nd level Cipher Knighthood and certificate
for producing the coolest phrase which is also a ciphersaber-2 test
vector.

By way of example the following is a ciphertext plaintext pair:

% csvec -c2 db 3 4 3 5 3 spook.lines
selected 155 words of length [3-5]
k="AMME",iv="spy fraud ": bce DES

which is interpreted as:

ciphertext = "spy fraud DES"
plaintext = "bce"
key = "AMME"

(the iv is prepended to the ciphertext)

and can be checked as:

% echo -n "spy fraud DES" | cs2.pl -d -k="AMME"
bce

and so on.

Adam
--
http://www.cypherspace.org/adam/

Reply via email to