There is no inbuilt function for hashing in PowerBI you can simply use the folder path column in the folder step to create a unique ID combining the file name as well.
You can split the path by a delimiter "\" and use different parts of the folder to create a unique ID