For convenient testing of very short text sequences using zx8 (ps) I have uploaded a simple Python script at http://www.freecx.co.uk/zx8/Python_Tests_STDIN/ Just place zx8_ps__STDIN.py and zx8_ps_algorithm.py into the same folder, then execute for example echo "Protected Privacy" | python ./zx8_ps__STDIN.py "SecretKeyWord" which will print this result Keyword = SecretKeyWord (hex) = 53:65:63:72:65:74:4B:65:79:57:6F:72:64 Plaintext = 50:72:6F:74:65:63:74:65:64:20:50:72:69:76:61:63:79:0A Keystream = 62:F9:D4:31:2F:63:CC:08:E1:6F:22:C6:0F:68:EB:F2:1B:62 Ciphertext = 32:8B:BB:45:4A:00:B8:6D:85:4F:72:B4:66:1E:8A:91:62:68