Using torrent files as a hashes source

It would be nice to verify whole directories with the use of torrent files.