The position of a particular storage server is calculated by hashing its address and port (:). Similar, the position of a (key, value)- pair is determined by hashing the respective key.
In this assignment we are going to use the Message Digest Algorithm 5 (MD5) for all hash operations. This hash function calculates a 128 bit digest (32 Hex digits, cf. figure) for arbitrarily large input data (i.e., array of bytes). The Java standard API already provides an implementation for this purpose (see java.security.MessageDigest).
The position of a particular storage server is calculated by hashing its address and port (:). Similar, the position of a (key, value)- pair is determined by hashing the respective key.
In this assignment we are going to use the Message Digest Algorithm 5 (MD5) for all hash operations. This hash function calculates a 128 bit digest (32 Hex digits, cf. figure) for arbitrarily large input data (i.e., array of bytes). The Java standard API already provides an implementation for this purpose (see java.security.MessageDigest).