Method Protocols.Bittorrent.DHT()->distance()


Method distance

string distance(string h1, string h2)

Description

Calculate the distance between two hashes using XOR. Fails unless both h1 and h2 are strings of the same length.