pd_cipher::engine::token_processor
Token processor trait and implementations for different token types. Token processor trait and implementations for different token types.
This module provides a unified abstraction for processing different token types, separating the concerns of token classification from token processing.
Structs
NumericProcessor
Processor for numeric tokens using Piecewise Linear Transformation.
pub struct NumericProcessor
StringProcessor
Processor for string tokens using Blake2b MAC.
pub struct StringProcessor
TokenProcessorFactory
Factory for creating appropriate token processors.
pub struct TokenProcessorFactory
Traits
TokenProcessor
Trait for processing tokens of different types.
This trait provides a unified interface for handling numeric and string tokens, enabling clean separation of concerns and easy extension for new token types.
pub trait TokenProcessor