renaming encodePassword to encodeString in preps for encoding security
answer