Implemented decryption by reversing the loop for the keys.
Added method decloration to the header file.