serialization, encryption, decryption, sign and verify working