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 | 31 |
Tags
- GUI
- Computer Vision
- Python
- Deep Learning
- Django
- 데이터베이스
- 컴퓨터 비전
- POD
- k8s
- kubernetes
- yaml
- Tkinter
- paper review
- 논문 리뷰
- 딥러닝
- 텐서플로우
- 파이토치
- MariaDB
- FLASK
- pytorch
- Web Programming
- 파이썬
- 장고
- OpenCV
- numpy
- 웹 프로그래밍
- tensorflow
- Docker
- vue.js
- 그래픽 유저 인터페이스
Archives
- Today
- Total
목록decrppt (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