Made decryption methods class level so that we can call them from outside