Extracted cryptography stuff into a separate project