added support for MD5 encryption in pet.pl