keyhog_scanner/decode/
mod.rs1mod base64;
7pub mod caesar;
8pub mod hex;
9mod json;
10mod pipeline;
11pub mod reverse;
12mod url;
13pub mod util;
14
15pub use base64::{base64_decode, find_base64_strings, z85_decode};
16pub use hex::hex_decode;
17pub use pipeline::{decode_chunk, register_decoder};
18
19use keyhog_core::Chunk;
20
21pub trait Decoder: Send + Sync {
23 fn name(&self) -> &'static str;
24 fn decode_chunk(&self, chunk: &Chunk) -> Vec<Chunk>;
25}
26
27pub struct EncodedString {
29 pub value: String,
30}