Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Dec 19th, 2018
70
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.19 KB
| None
|
0
0
raw
download
clone
embed
print
report
##如何產生很難猜測的臨時 URL
def genURLToken() -> str:
return secrets.token_urlsafe()
##產生密碼強度的隨機字串
def genStrToken() -> str:
return secrets.token_hex()
Add Comment
Please,
Sign In
to add comment
Public Pastes
Oxygen Search Form styling with icon
CSS | 2 min ago | 0.78 KB
News March28 24
Email | 6 min ago | 33.52 KB
coreboot: show history by week since a releas...
Bash | 10 min ago | 2.75 KB
ELM327 ARDUINO
C++ | 34 min ago | 2.66 KB
💲 G2A.com Free Gift Card Guide Mar 2024 💲
GetText | 43 min ago | 0.54 KB
Untitled
C++ | 50 min ago | 3.13 KB
HUBPS99
Lua | 60 min ago | 14.29 KB
PSHUB
Lua | 1 hour ago | 170.02 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!