Crate enard

Source
Expand description

Enard is an encrypted container format and associated library with the goal of enabling on-the-fly game asset decryption.

Modules§

cipher_factory
nothing_cipher

Structs§

BoxDynCipher
Wraps a Box<dyn DynCipher> and also provides a CipherFactory which dynamically selects the cipher implementation based on the provided name.
EnardReader
Wraps an internal reader (usually std::fs::File) and implements Read and Seek, decrypting the contents of the internal reader on the fly and acting as a reader for only the “wrapped” contents of the enard file.
EnardWriter
Wraps a Write + Seek to produce new encrypted enard files.

Enums§

EnardError

Traits§

DynCipher
Object-safe interface for seekable stream ciphers
DynCipherCore
Object-safe wrapper around StreamCipherSeek.

Type Aliases§

MetaMap
Map of metadata keys to values