trilium/generate-secret-key.py

5 lines
No EOL
82 B
Python

#!/usr/bin/python
import os
import base64
print(base64.b64encode(os.urandom(24)))