Implemented PubKey1 and PriKey1 encryption and decryption.