Added functions to hash password to block cipher block size