Visual Studio Code
Sublime Text
IOGraphica
Livid
277.99D
569.41D
V2EX  ›  Dev

Generate Tornado Cookie Secret

  •  
  •   Livid ·
    PRO
    · Aug 14, 2019 · 878 views
    This topic created in 2469 days ago, the information mentioned may be changed or developed.
    #!/usr/bin/env python
    
    import base64
    import os
    
    # Get a number that is random enough for cryptographic purposes.
    print base64.b64encode(os.urandom(50)).decode('ascii')
    
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1125 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 18:18 · PVG 02:18 · LAX 11:18 · JFK 14:18
    ♥ Do have faith in what you're doing.