Eliminated redundant createHash() since the input URL is already hashed in both the encryption and pad retrieval code.
Eliminated redundant createHash() function on the page because hashing is already done in getPad() and getDecrypted().
Debugging code added and removed, small syntax errors left over from merge fixed.