Hashing recipes use Latin-1 as default encoding
Open
bug
- Dominant language
- JavaScript
- Stars
- 35.8k
- Forks
- 4.1k
- Avg merge
- 2d 26m
- Merged PRs (30d)
- 33
Description
Hashing recipes like MD5 are using **Latin-1** as default encoding. As a result, CyberChef produce different outcomes for certain inputs compared to the majority of other hash function generators, that use the **UTF-8** standard.
Example:
echo -n "ä" | md5sum ---> 8419b71c87a225a2c70b50486fbee545
result with CyberChef ---> c15bcc5577f9fade4b4a3256190a59b0
Using UTF-8 as the default encoding is crucial due to its adoption as a standard. It ensures compatibility across various systems and supports a wide range of characters, promoting seamless communication and data consistency.
Contributor guide
Assessment
This issue has not been assessed yet.