Expand description
Enard is an encrypted container format and associated library with the goal of enabling on-the-fly game asset decryption.
Modules§
Structs§
- BoxDyn
Cipher - Wraps a
Box<dyn DynCipher>
and also provides aCipherFactory
which dynamically selects the cipher implementation based on the provided name. - Enard
Reader - Wraps an internal reader (usually
std::fs::File
) and implementsRead
andSeek
, decrypting the contents of the internal reader on the fly and acting as a reader for only the “wrapped” contents of the enard file. - Enard
Writer - Wraps a
Write
+Seek
to produce new encrypted enard files.
Enums§
Traits§
- DynCipher
- Object-safe interface for seekable stream ciphers
- DynCipher
Core - Object-safe wrapper around
StreamCipherSeek
.
Type Aliases§
- MetaMap
- Map of metadata keys to values