added decrypt() method