Toy cryptographic python library