I am using Node.js to read a file to bytedata (uint8array) and use SHA256 to hash the file’s bytedata like this:
ad505ee6067fba3f6fc20506d3379e190e087aeffe5d958ab9f2f3ed3800sa4f
I am wondering if it is possible or by any chance that for two different files having the same bytedata which might lead to the same SHA256 hash? Or what if same file but with very small change like the modification date, suffix or some other small change.
If so, is there any other practical way to get the unique identifier of a files in string?