string encryption pass : handle more cases