File: cookie_secret.py

package info (click to toggle)
python-cyclone 1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,388 kB
  • ctags: 1,372
  • sloc: python: 8,823; sh: 183; makefile: 13; sql: 12
file content (10 lines) | stat: -rw-r--r-- 173 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/env python
# coding: utf-8
#
$license

import base64
import uuid

if __name__ == "__main__":
    print(base64.b64encode(uuid.uuid4().bytes + uuid.uuid4().bytes))