encryption.xml is at a standard location, so don't loop over the name
map.
Copy calibre's decode() function to best process input data the same way
as calibre.

Fix #17