A simple stream cypher and an iterative hash function.