DecodeBox
Search
K
Guides
SDK Reference
Operations
Playgrounds
Operations Explorer
Auto Detection Lab
Encoding & Decoding Lab
Open DecodeBox
Theme
Menu
ON THIS PAGE
#
Hamming Distance
Counts the positions at which two equal-length samples differ.
ID:
hamming-distance
Category: Utils
Aliases: bit difference, distance
#
Arguments
Argument
Type
Default
Constraints
Sample delimiter
option
"Blank line"
Blank line, Line feed, CRLF, Space, Comma, Semi-colon, Colon, Nothing
Unit
option
"Byte"
Byte, Bit
Input type
option
"Raw string"
Raw string, Hex