################################################################################ # Encode # p0 : encrypt key a # p1 : decrypt key b # p2 : clear text # p3 : cipher text ################################################################################ Caesar Encode affine_encrypt 01 03 48656c6c6f576f726c64 4b686f6f725a72756f67 Rot13 Encode affine_encrypt 01 0d 48656c6c6f576f726c64 557279797c647c7f7971 Affine Encode affine_encrypt 05 00 48656c6c6f576f726c64 68f91c1c2bb32b3a1cf4 Affine Encode (Affine) affine_encrypt 05 03 48656c6c6f576f726c64 6bfc1f1f2eb62e3d1ff7 Vigenere Encode affine_encrypt 010101 130ac9 48656c6c6f576f726c64 5b6f357f7920827c3577 Polyalphabetic Affine Encode affine_encrypt 05 03 48656c6c6f576f726c64 6bfc1f1f2eb62e3d1ff7 ################################################################################ # Decode # p0 : encrypt key # p1 : decrypt key # p2 : cipher text # p3 : clear text ################################################################################ Caesar Decode affine_decrypt 01 03 4b686f6f725a72756f67 48656c6c6f576f726c64 Rot13 Decode affine_decrypt 01 0d 557279797c647c7f7971 48656c6c6f576f726c64 Affine Decode affine_decrypt 05 00 68f91c1c2bb32b3a1cf4 48656c6c6f576f726c64 Affine Decode (Affine) affine_decrypt 05 03 6bfc1f1f2eb62e3d1ff7 48656c6c6f576f726c64 Vigenere Decode affine_decrypt 010101 130ac9 5b6f357f7920827c3577 48656c6c6f576f726c64 Polyalphabetic Affine Decode affine_decrypt 05 03 6bfc1f1f2eb62e3d1ff7 48656c6c6f576f726c64