Bash Generate Secure Random String Python Functions W3schools