trilium/generate-secret-key.py

5 lines
82 B
Python
Raw Normal View History

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