Fixed the issue with the encryption library. Encryption is working now