decipher (fixes #11)