
cryptography는 Python 개발자에게 암호화 프리미티브와 레시피를 제공하도록 설계된 패키지입니다.
.. image:: https://img.shields.io/pypi/v/cryptography.svg :target: https://pypi.org/project/cryptography/ :alt: Latest Version
.. image:: https://readthedocs.org/projects/cryptography/badge/?version=latest :target: https://cryptography.io :alt: Latest Docs
.. image:: https://github.com/pyca/cryptography/actions/workflows/ci.yml/badge.svg :target: https://github.com/pyca/cryptography/actions/workflows/ci.yml?query=branch%3Amain
cryptography는 Python 개발자에게 암호화 레시피와
프리미티브를 제공하는 패키지입니다. 우리의 목표는 이것이 여러분의 "암호화
표준 라이브러리"가 되는 것입니다. Python 3.9+ 및 PyPy3 7.3.11+을 지원합니다.
cryptography는 대칭 암호, 메시지 다이제스트, 키 유도 함수와 같은
일반적인 암호화 알고리즘에 대한 고수준 레시피와 저수준 인터페이스를 모두
포함합니다. 예를 들어, cryptography의 고수준 대칭 암호화 레시피로
무언가를 암호화하려면:
.. code-block:: pycon
>>> from cryptography.fernet import Fernet
>>> # Put this somewhere safe!
>>> key = Fernet.generate_key()
>>> f = Fernet(key)
>>> token = f.encrypt(b"A really secret message. Not for prying eyes.")
>>> token
b'...'
>>> f.decrypt(token)
b'A really secret message. Not for prying eyes.'
자세한 내용은 문서화_에서 확인할 수 있습니다.
다음과 같이 cryptography를 설치할 수 있습니다:
.. code-block:: console
$ pip install cryptography
전체 세부 사항은 설치 문서_를 참조하세요.
토론
버그가 발생하면 `이슈 트래커`_에 등록할 수 있습니다.
개발 논의를 위한 `cryptography-dev`_ 메일링 리스트를 운영하고 있습니다.
질문을 하거나 참여하려면 ``irc.libera.chat``의 ``#pyca`` 채널에 참여할 수도 있습니다.
보안
~~~~~~~~
보안 문제를 신고해야 하나요? `보안 신고`_
문서를 참조하세요.
.. _`문서화`: https://cryptography.io/
.. _`설치 문서`: https://cryptography.io/en/latest/installation/
.. _`이슈 트래커`: https://github.com/pyca/cryptography/issues
.. _`cryptography-dev`: https://mail.python.org/mailman/listinfo/cryptography-dev
.. _`보안 신고`: https://cryptography.io/en/latest/security/