mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-04-08 22:35:15 +08:00
11 lines
215 B
Python
11 lines
215 B
Python
from binascii import hexlify
|
|
from utilitybelt import dev_urandom_entropy
|
|
|
|
|
|
def generate_app_id():
|
|
return hexlify(dev_urandom_entropy(16))
|
|
|
|
|
|
def generate_app_secret():
|
|
return hexlify(dev_urandom_entropy(32))
|