Generate Secure Random String Python Replace