Just some basic math and cryptography