250x250
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
Tags
- paper review
- MariaDB
- 논문 리뷰
- k8s
- 파이썬
- numpy
- 파이토치
- yaml
- tensorflow
- FLASK
- Django
- vue.js
- 그래픽 유저 인터페이스
- 컴퓨터 비전
- kubernetes
- Python
- Deep Learning
- 웹 프로그래밍
- Tkinter
- 장고
- pytorch
- 딥러닝
- POD
- OpenCV
- 데이터베이스
- Web Programming
- GUI
- Docker
- Computer Vision
- 텐서플로우
Archives
- Today
- Total
목록암호화 (1)
Maxima's Lab
[Python] 데이터 대칭 암호화/복호화 (Cryptography 패키지) 사용법
안녕하세요, 오늘은 cryptography 패키지를 활용하여 데이터를 암호화/복호화하는 방법에 대해서 알아보겠습니다. 먼저, cryptography 패키지를 설치합니다. pip install cryptography 패키지 설치 후 Key를 생성하는 방법에 대해서 알아보겠습니다. from cryptography.fernet import Fernet key = Fernet.generate_key() print(key) 위의 코드에 대한 실행 결과 예시는 다음과 같습니다. b'L3VgRESLKKodYcUMuBXgxSfXpSKhcchdlyRLbXNwnRk=' 이어서, Key를 생성 후 Key를 저장하는 방법에 대해서 알아보겠습니다. from cryptography.fernet import Fernet key =..
Python
2023. 11. 15. 22:30