The project is in a healthy, maintained state
Provides a command line helper for replacing input strings with stable anonymized values.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Runtime

>= 1.2.3, < 2
 Project Readme

dorian-anonymize

Anonymize strings by preserving character classes.

Install

gem install dorian-anonymize

Also included in the aggregate gem:

gem install dorian

Usage

anonymize [string ...] [file ...]

Run anonymize -h for generated option details and anonymize -v for the installed version.

Notes

  • Uppercase letters become A, lowercase letters become a, and digits become 0.

Examples

Anonymize a secret-looking value

anonymize Secret123

Output:

Aaaaaa000