You don't give a lot of details. There are plenty of free decryption libraries available. You find them on the internet and not from me. Here's one to start you off:
https://www.gnupg.org/
There are plenty of others but you don't give us a clue what exactly you're looking for.
jdk