urandom/__init__.py: add die and success functions