Text & Lists
Hamming Distance Text Processor
Transform text with Hamming Distance and the selected rules. Enter the text, set the transformation rules, then copy the result.
This tool runs open-source code from CyberChef by GCHQ (Apache License 2.0). See open-source credits.
Hamming Distance Text Processor compares equal-length strings and counts positions with different characters.
3 Processing runs in the browser.
Instructions
- Provide text or data for this tool.
- Provide two strings with the same length.
- Check the input encoding before comparing positions.
- Use the count as a positional difference measure.
Example
Input: karolin kathrin
Settings: Hamming Distance Text Processor: Use the operation's comparison fields as provided.
Result: 3
Limits
- Hamming Distance Text Processor: Hamming distance requires equal-length inputs.
- Hamming Distance Text Processor: It counts substitutions and does not model inserted or deleted characters.
- Hamming Distance Text Processor: The operation runs in the browser and does not need a network service.