nacl
| Use Case | Command | Description |
|---|---|---|
| 🔐 Secret-key encryption | from nacl.secret import SecretBox | Encrypt/decrypt using symmetric keys |
| 🔑 Public-key encryption | from nacl.public import PrivateKey, PublicKey, Box | Box encryption with Curve25519+XSalsa20-Poly1305 |
| ✍️ Digital signatures | from nacl.signing import SigningKey, VerifyKey | Ed25519 signing and verification |
| 🔒 Password hashing | from nacl.pwhash import argon2i, argon2id, scrypt | Memory-hard password hashing |
| 🧂 Cryptographic hashing | from nacl.hash import sha256, sha512, blake2b | General-purpose hash functions |
| ⚙️ Low-level bindings | from nacl.bindings import crypto_box, crypto_secretbox | Direct libsodium C API access |
# Copyright 2013 Donald Stufft and individual contributors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
_sodiumbindings (package)encodingexceptionshashhashlibpublicpwhash (package)secretsigningutils__all__ — list of public names: ['__title__', '__summary__', '__uri__', '__version__', '__au...__copyright__ — 'Copyright 2013-2018 The PyNaCl developers'__email__ — cryptography-dev AT python.org__license__ — 'Apache License 2.0'__summary__ — 'Python binding to the Networking and Cryptography (NaCl...'__title__ — 'PyNaCl'__uri__ — https://github.com/pyca/pynacl/1.5.0
The PyNaCl developers
/usr/lib/python3/dist-packages/nacl/__init__.py
Generated by phpman v4.9.27 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-18 11:12 @216.73.216.114
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format