Skip to main content

Cipher Shield

cipher-shield là bộ mã hóa/giải mã file dùng:

  • AES-256-GCM
  • PBKDF2-HMAC-SHA256
  • ZLIB
  • CUTC text envelope (Base64)

Cài như một gói pip

pip install .

Cài ở chế độ dev:

pip install -e .

Build wheel:

python -m pip install build
python -m build

Dùng CLI

Mã hóa:

cipher-shield input.bin
cipher-shield input.bin output.cutc --cutc
cipher-shield input.bin output.enc --password "matkhau"

Giải mã:

cipher-shield -dc input.cutc
cipher-shield -dc input.enc output.bin

Tuỳ chọn chính

  • -h, --help, -help: trợ giúp
  • -dc: giải mã
  • -en: mã hóa
  • --cutc: xuất ra CUTC text
  • --cutc-style: chọn kiểu banner
  • --cre TLVM: hiển thị credit trong banner / metadata
  • --deep: bật chế độ kiểm tra bảo mật chặt hơn
  • -p, --password: truyền mật khẩu
  • -k, --key-file: đọc mật khẩu từ file text
  • -f: ghi đè file đầu ra
  • -rm: xoá file gốc sau khi xử lý
  • --dry-run: chạy thử, không ghi file

Ghi chú

  • Mặc định chỉ tạo file đầu ra nếu thao tác hợp lệ.
  • Header được ràng buộc bằng AAD của AES-GCM để phát hiện sửa đổi.
  • Dữ liệu CUTC được bóc tách theo khung Base64 an toàn.

Metadata

Release files for cryptography-tlvm 2.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cryptography-tlvm 2.1.0
File Size Uploaded
cryptography_tlvm-2.1.0.tar.gz 10.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cryptography-tlvm 2.1.0
File Interpreter ABI Platform
cryptography_tlvm-2.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 22.8 kB

Release files / cryptography_tlvm-2.1.0.tar.gz

Download URL cryptography_tlvm-2.1.0.tar.gz
Size 10.8 kB
Tags Source
SHA-256 checksum
How to use checksums
af84b82d7baea529550e116cf384f56102dc147216802fe7b2c04101e244b75c
BLAKE2b-256 checksum
How to use checksums
d354028986ff446442acc5a5783eb3d2b855dd2119519e3d6c6401c8455b2258
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release files / cryptography_tlvm-2.1.0-py3-none-any.whl

Download URL cryptography_tlvm-2.1.0-py3-none-any.whl
Size 12.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6605c6ec2825085be1f6b873a8dbaae71461b9ebc5d46599017df054fb38d468
BLAKE2b-256 checksum
How to use checksums
d450bc1c342682190df501de6c8087d52bbab4441e13c940429c5d233117385b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release history Release notifications | RSS feed

2.4.2

2 release files

2.4.1

2 release files

2.4.0

2 release files

This release

2.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page