pub trait SecretRotation: Send + Sync {
// Required method
fn derive(
&self,
topic_hash: [u8; 32],
unix_minute: u64,
initial_secret_hash: [u8; 32],
) -> [u8; 32];
}Expand description
Trait for deriving time-rotated encryption keys.
Implementations control how encryption keys rotate based on time, providing key isolation across time slots.