Leverage Rust's Traits to create a more dynamic API
Open
enhancement
- Dominant language
- Rust
- Stars
- 275
- Forks
- 16
- PR merge metrics
- No merged PRs in 30d
Description
It would be awesome if `stego` could use traits to allow for custom encodable/decodable (source) datatypes along with custom host types.
I'm thinking an API similar to the following:
- `Source` trait is for encodable/decodable (hidden) data types.
- `Host` trait is for host files, like images/video/audio files that seem inconspicuous.
We could change the current `LSBStego` implementation to take in two type definitions. A `Host` and a `Source` then the `LSBStego` is the glue between the `Source` / `Host`.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.