How k-atusa/usag-lib works
USAG-Lib is a cross-language utility library, with Python as the reference implementation and JavaScript, Go, and Java counterparts. Its distinct capabilities include byte/text encoding, basic cryptography, encrypted-file headers and workflows, ZIP64 and TAR-PAX containers, and embedded icon bytes. The principal security workflow is represented by Opsec using Bencrypt for cryptographic operations. Edges are limited to README-documented capabilities and the shown Opsec-to-Bencrypt references; unsampled implementations are not inferred in detail.
Main entry points: Opsec Encrypted Files · Bencrypt Basic Cryptography · Bencode Binary Encoding · Szip ZIP64 Container
Components 7
Encoding
- Binary Encoding
Bencode
Cryptography
- Basic Cryptography
Bencrypt - Encrypted Files
Opsec
Archive Containers
- ZIP64 Container
Szip - TAR-PAX Container
Star
Embedded Assets
- Icon Bytes
Icons
Other components
- Library User
Connections 7
- Library User → Binary Encoding: encodes or decodes
README.md - Library User → Basic Cryptography: uses encryption
README.md - Library User → Encrypted Files: formats encrypted files
README.md - Library User → ZIP64 Container: reads or writes
README.md - Library User → TAR-PAX Container: reads or writes
README.md - Library User → Icon Bytes: uses icon bytes
README.md - Encrypted Files → Basic Cryptography: calls crypto operations
Opsec/Opsec.py