add spacifier, rework rng

* add function that adds (pseudo)random confusion characters in the text
* renamed intlog to rng
* moved alphabet-related functions to their own file
* move the key hash in a common block