Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python generate secret key

>>> import secrets
>>> secrets.token_bytes(16)
b'xebrx17D*txaexd4xe3Sxb6xe2xebP1x8b'
>>> secrets.token_hex(16)
'f9bf78b9a18ce6d46a0cd2b0b86df9da'
>>> token_urlsafe(16)  
'Drmhze6EPcv0fN_81Bj-nA'
Source by docs.python.org #
 
PREVIOUS NEXT
Tagged: #python #generate #secret #key
ADD COMMENT
Topic
Name
8+1 =