Generate Random Hash String Python Functions