4 releases (breaking)
0.5.0 | Jul 17, 2023 |
---|---|
0.4.1 | Jul 16, 2023 |
0.3.1 |
|
0.2.0 | Jul 15, 2023 |
0.1.0 | Jul 15, 2023 |
#2287 in Cryptography
Used in spx-codegen
15KB
374 lines
SPX
A file archive library for bundling and protecting resources using compile-time code generation.
A generated SPX archive file does not contains any metadata.
Each files are encrypted with Chacha20
using sha256 hash of file path as key.
Offset and size for each files are mapped with perfect hash table and stored inside compiled binary without original filename. But without correct file name, it is impossible to find correct offset size pair and original file data.
License
Apache-2.0
Dependencies
~1.6–2.4MB
~49K SLoC