{"categories":[{"label":"Security","url":"https://skillfed.io/packages/category/security/2"},{"label":"Cryptography","url":"https://skillfed.io/packages/category/security-cryptography"}],"enrichment":{"capability":"Pysodium is a Python wrapper around libsodium that provides access to authenticated encryption, key exchange, signing, hashing, and password hashing functions.","skillfed_tags":["cryptography","system-dependency","low-level-api"],"use_cases":["Encrypt and decrypt messages with authenticated encryption (ChaCha20-Poly1305, AES-GCM) for secure communication.","Perform Diffie-Hellman key exchange using Curve25519 to establish shared secrets between parties.","Sign and verify messages using Ed25519 for non-repudiation and authenticity verification.","Hash passwords with Argon2 or scrypt for secure credential storage.","Generate and verify message authentication codes (HMAC-SHA256/512) for data integrity.","Stream encryption with ChaCha20 for large data or streaming scenarios."],"what_it_does":"Pysodium exposes libsodium's cryptographic primitives to Python as a thin wrapper, providing direct access to authenticated encryption schemes (ChaCha20-Poly1305, AES-GCM variants), public-key cryptography (Curve25519), digital signatures (Ed25519), hashing (BLAKE2, SHA-512), and password hashing (Argon2, scrypt). It is designed for developers who want libsodium's battle-tested algorithms without the overhead of higher-level abstractions.\n\nThe package trades ease of use for directness: you work with raw bytes, manage nonces and keys yourself, and call low-level functions that map almost one-to-one to libsodium's C API. This makes it suitable for applications where you need fine-grained control over cryptographic operations, but it requires understanding the underlying primitives and their correct usage patterns.","worth_installing":"Yes, if you have libsodium already installed or can install it on your system and need direct access to libsodium's cryptographic functions. The high install friction (external C dependency) and Beta status are real drawbacks, but the package is actively maintained, has no known vulnerabilities, and offers a permissive license. Consider it when you need low-level control over cryptographic primitives that higher-level libraries may not expose."},"id":"pysodium","links":{"html":"https://skillfed.io/packages/pysodium","md":"https://skillfed.io/packages/pysodium.md","pypi":"https://pypi.org/project/pysodium/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2024-08-07","license_spdx":null,"license_treatment":"permissive","name":"pysodium","python_support":"unspecified","summary":"python libsodium wrapper"},"popularity":{"monthly_downloads":391117,"position":7018,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.7.18"}
