some cryptography test code