Encryption refactored

Hex encoding moved out of Blowfish service. Created convinience methods
for executing code under lock.