- Zero-dependency pure-Python cryptography: SHA-2 / SHA-3 / SHAKE / BLAKE2b, HMAC, PBKDF2 / HKDF / scrypt / Argon2id, AES (ECB/CBC/CTR/CFB/OFB/GCM), AES-GCM-SIV, ChaCha20-Poly1305 / XChaCha20-Poly1305, X25519, Ed25519, RSA (keygen / OAEP / PSS / PEM), ASN.1 DER - Unified error system: PPYC_ERR fatal exception vs (code, message, suggestion) non-fatal 3-tuple return - Interactive TUI (Chinese / English i18n) + non-interactive CLI - v3.2.0 adds the encoding, rand and kdf2 modules - Documentation, code comments and error messages fully in English; the interactive TUI keeps its Chinese interface - Tests: RFC / FIPS / NIST test vectors, 639 passing
31 lines
747 B
Plaintext
31 lines
747 B
Plaintext
# Normalize line endings for a cross-platform repository.
|
|
# Python source and text files are stored with LF in the repository;
|
|
# working-tree checkout uses the platform default (CRLF on Windows).
|
|
|
|
* text=auto eol=lf
|
|
|
|
# ---- Explicit: source & docs ----
|
|
*.py text eol=lf
|
|
*.pyi text eol=lf
|
|
*.typed text eol=lf
|
|
*.md text eol=lf
|
|
*.toml text eol=lf
|
|
*.cfg text eol=lf
|
|
*.ini text eol=lf
|
|
*.txt text eol=lf
|
|
*.json text eol=lf
|
|
*.in text eol=lf
|
|
|
|
# ---- Binary ----
|
|
*.whl binary
|
|
*.gz binary
|
|
*.zip binary
|
|
*.png binary
|
|
*.jpg binary
|
|
*.jpeg binary
|
|
*.ico binary
|
|
*.pdf binary
|
|
|
|
# ---- Keep generated / vendored single-file bundles byte-exact ----
|
|
purepycrypto/single/purepycrypto.py text eol=lf
|