Skip to main content

Module clean

Module clean 

Source
Expand description

clean 后处理流水线的算子配置类型。

一个 CleanStep 聚合若干算子,步内按固定顺序执行: regex/replace → trim → prepend → append → decode → encode → hash → cipher → fontMap → cn → js。 这里只是配置(纯 serde 数据);确定性实现在 crate::eval::transform

Structs§

CipherStep
加解密算子。默认值贴合「解密正文」主场景:op=decryptinputEnc=base64outputEnc=utf8
CleanStep
单步后处理。步内多算子按固定顺序执行: regex/replace → trim → prepend → append → decode → encode → hash → cipher → fontMap → cn
HashStep
哈希算子(可选 HMAC)。

Enums§

ByteEnc
crypto 的 key/iv/输入/输出字节编码。
CipherAlgo
对称加密算法。
CipherMode
加密模式。
CipherOp
加解密方向。
CnConvert
繁简转换方向。
Codec
编解码方式(decode/encode 算子,以及 crypto 的字节↔串编码)。
HashAlgo
哈希算法。
HashOut
哈希/HMAC 输出编码。
Padding
填充方式(gcm 忽略)。