Fixed whitespace problem for encryption string