ed2k_hash is a little command line utility that takes an number of files and outputs their ed2k-links.