added function gpgdec