By George Curta · Last updated 2026-07-24
5 种匿名化方法
根据您的使用场景选择合适的方法。每种方法均可全局应用或通过实体级运算符按实体类型单独应用。
将 PII 替换为类型化单位,例如 <PERSON_1>、<EMAIL_ADDRESS_1>。在文档中保持一致——相同的姓名始终获得相同的令牌。
可通过替换映射表还原。
用星号替换字符,同时保留格式。适用于需要显示部分数据的场景,例如社会安全号码的最后 4 位。
遮蔽字符和可见字符数均可配置。
完全删除 PII 并替换为 [REDACTED]。不可逆——原始数据无法恢复。
最适合实现最大程度的隐私保护和合规对齐。
对 PII 生成加密哈希值。相同输入始终产生相同哈希值,在不暴露数据的前提下实现跨文档关联。
单向函数,无法逆向还原。
使用 AES-256-GCM 认证加密对 PII 进行加密。密文将替换文档中的原始文本。凭借正确的加密密钥,可以解密并还原原始数据。
最适合授权用户后续需要去匿名化的工作流程。密钥通过加密密钥功能进行管理。
预设
预设保存您的匿名化配置,以便在文档和设备之间复用。
保存配置
将实体选择、方法、语言和实体级运算符设置保存为命名预设。
跨设备同步
预设自动同步到您的 anonym.legal 账户。在任何已登录的设备上均可访问。
实体级运算符
在预设中为每种实体类型配置不同的运算符(例如:替换姓名、遮蔽社会安全号码、哈希电子邮件)。
预设管理
在侧边栏中创建、重命名和删除预设。预设面板显示预设名称和实体配置。
加密密钥
管理加密匿名化方法所需的加密密钥。密钥安全存储于服务器端,并以您账户密钥加密密钥(KEK)进行封装,实现零知识保护。
ZK 封装存储
密钥在存储前已使用您账户 KEK 通过 XChaCha20-Poly1305 加密。服务器从不接触您的原始加密密钥。
自动加载
从下拉列表中选择已保存的密钥后,密钥值将自动获取并解密。无需手动输入。
会话持久性
密钥在会话期间保持有效,无需每次匿名化后重新选择。退出登录时自动清除。
预览对话框
预览对话框在分析完成后打开,允许您在将更改应用于文档之前查看并自定义匿名化内容。
实体表
显示最多 50 个检测到的实体,包含其类型、原始文本和建议的匿名化结果。
选择 / 取消选择
使用「全选」或「全不选」按钮,或切换单个实体。仅选中的实体将被匿名化。
逐实体审查
逐一审查每个检测到的实体。接受或拒绝特定检测结果以处理误报。
格式保留(仅限 Writer)
在 Writer 中进行匿名化时,扩展将保留原始文本格式。替换文本将继承与原始内容相同的视觉样式。
保留的字体属性
字体名称、字号、粗体、斜体、字体颜色、下划线、删除线
保留的段落属性
对齐方式、首行缩进、左边距、右边距
Note: 格式保留仅在 Writer 中可用。Calc 和 Impress 处理的是不含格式的纯文本内容。
文档支持
扩展支持三个 LibreOffice 应用,每个应用均采用特定的文档处理方式。
Writer
完整的文本提取,支持选区。保留粗体、斜体、下划线、字体名称、字号、颜色和高亮格式。逐段落处理。
Calc
将单元格内容处理为制表符分隔的文本。分析并匿名化各工作表中单个单元格内的文本。
Impress
从幻灯片文本对象(形状)中提取文本。处理演示文稿中所有幻灯片的文本内容。
多语言检测
扩展可检测 48 种语言中的 PII。在侧边栏中设置检测语言或从预览对话框中切换。语言决定了所应用的 NER 模型和正则表达式模式。
快捷操作
扩展注册了工具栏命令,以便快速访问常用操作。
打开侧边栏
打开 anonym.legal 侧边栏面板。可从工具栏或「视图」→「侧边栏」菜单访问。
匿名化所选内容
分析并匿名化当前选中的文本。跳过侧边栏,直接进入预览对话框。
分析所选内容
在不进行匿名化的情况下分析当前选区中的 PII。以仅供审查模式打开预览对话框。
分块处理
大型文档将分块处理,以确保结果可靠并避免超时。
块大小
每块 8,000 个字符,重叠 400 个字符,以防止实体在边界处被截断。
大小限制
最大文档大小为 10 MB。超出此限制的文档应拆分或按章节处理。
请求超时
每次 API 请求超时时间为 120 秒。较大的块可能需要多次请求。
跨设备同步
您的配置会在所有已使用 anonym.legal 账户登录的设备间自动同步。
预设
实体选择、方法、运算符
自定义实体
自定义正则表达式模式和拒绝列表
加密密钥
ZK 封装的密钥元数据和密钥值
同步每 5 分钟自动运行一次。更改将缓存在本地,并在网络恢复后同步。
About this page
We update this page when our platform or the law changes.
Read our founder note for how we work.
Each change shows up in the timestamp at the top.
Related reading
We follow these rules
- GDPR (EU 2016/679).
- ISO/IEC 27001:2022.
- NIS2 (EU 2022/2555).
- HIPAA safe harbor under 45 CFR § 164.514(b)(2).
Our promise
We do not sell your data.
We do not train models on your text.
We store your files in Germany.
You can delete your account at any time.
You own your work.
Where we run
Our company HQ is in Saarbrücken, Germany. Our servers run in Hetzner's Falkenstein datacenter.
Hetzner holds ISO 27001 certification.
All data stays in the EU.
Backups run every day.
Need help?
Email support@anonym.legal.
We reply within one business day.
How we test
We run a full check suite on every release.
Each surface gets its own sweep script and report.
Human reviewers spot-check the output each week.
We track recall and precision on a labelled set.
Bad runs block the deploy.
What we never do
- We never sell your information to third parties.
- We never train models on what you upload.
- We never keep your work after you delete it.
- We never share keys with any outside firm.
- We never run ads inside the product.
Plans in plain words
We sell credits, not seats.
One credit covers one short job.
Long jobs use a few credits each.
You can top up at any time.
Unused credits roll over each month.
Read the plans page for current rates.
Who built this
A small team of engineers and lawyers built this.
We ship from Europe and work in the open.
Our founder note spells out why we started.
Where to start
- Open the web app and try a sample file.
- Learn how credits get counted.
- See current plans and limits.
- Meet the team behind the product.
How the parts fit
A browser add-on cleans text inside Chrome.
A Word plug-in handles drafts in Office.
A small desktop tool works on whole folders.
An agent protocol link feeds large models safely.
All four share one core engine and one rule set.
Words from our team
We started this work after a lunch about cookies.
One friend kept getting odd ads on her phone.
We asked why a court file leaked through a draft.
We sketched the first build on a napkin that week.
By month three we had a tiny demo for a friend.
She used it on her first case the next day.
Common questions we hear
Can the tool read scanned PDFs? Yes, with OCR.
Does it work on long files? Yes, in small chunks.
Can I roll my own rule set? Yes, save it as a preset.
Does it run offline? The desktop build runs offline.
Do you keep my files? No, the cloud build wipes after each run.
Will it learn from my work? No, we never train on inputs.
A short tour of the workflow
Upload a file or paste a snippet of prose.
Pick the entities you want gone from the draft.
Choose a method: replace, mask, hash, encrypt, or redact.
Press run and watch the side panel show each hit.
Skim the result and tweak any rule that misfired.
Save the cleaned file or send it to a teammate.