Expand description
Binary file format handling for .bin files.
Implements the promocrypt binary file format including:
- Two-key encryption (machineID + secret)
- Machine binding
- Counter management
- Code generation and validation
- Storage encryption for database codes
- History tracking and generation logs
Structs§
- BinConfig
- Configuration stored in a .bin file.
- BinFile
- Handle to an opened .bin file.
- BinStats
- Statistics about a .bin file.
Enums§
- Access
Level - Access level when opening a .bin file.
Functions§
- create_
config - Simple helper to create a BinConfig with defaults.