Visual Studio Code
Sublime Text
IOGraphica
Livid
292D
555.33D
V2EX  ›  Dev

Generate Tornado Cookie Secret

  •  
  •   Livid ·
    PRO
    · Aug 14, 2019 · 936 views
    This topic created in 2505 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   ·   4087 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 56ms · UTC 00:55 · PVG 08:55 · LAX 17:55 · JFK 20:55
    ♥ Do have faith in what you're doing.