tested decryption algorythm