hash file php

hash_file('md5', 'example.txt');
D D