adjust sha1 for encryption password