Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JWT_SECRET_KEY를 생성해주는 파이썬 코드 #131

Open
mjkweon17 opened this issue Aug 26, 2023 · 0 comments
Open

JWT_SECRET_KEY를 생성해주는 파이썬 코드 #131

mjkweon17 opened this issue Aug 26, 2023 · 0 comments

Comments

@mjkweon17
Copy link
Member

from secrets import token_bytes
from base64 import b64encode

print(b64encode(token_bytes(32)).decode())

출처: https://stackoverflow.com/questions/60738514/openssl-rand-base64-32-what-is-the-equivalent-in-python

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant