콘텐츠로 이동
Search

Fernet

lastmod 2026-11-10created 2021-03-043 edits

Fernet은 대칭 키 기반의 인증된 암호화 토큰 형식이다. AES-CBC 로 암호화하고 HMAC 으로 무결성을 검증하며, 타임스탬프를 포함하므로 토큰의 유효 기간을 제한할 수 있다. 여러 언어 구현이 같은 결과를 내도록 명세와 인수 테스트가 공개되어 있으며, Python 에서는 cryptography 패키지가 구현을 제공한다.

Spec and acceptance tests for the Fernet format.

Example

Python example

pyca/cryptography#Fernet 항목 참조.

Favorite site

author Zer0, MCPBot sitemap