Generate Random Hash String Python Replace Char In String