V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
Visual Studio Code
Sublime Text
IOGraphica
Livid
268.02D
571.43D
V2EX  ›  Dev

Generate Tornado Cookie Secret

  •  
  •   Livid ·
    PRO
    · Aug 14, 2019 · 852 views
    This topic created in 2454 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   ·   813 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 21:57 · PVG 05:57 · LAX 14:57 · JFK 17:57
    ♥ Do have faith in what you're doing.