从 MD5 哈希获取文件大小

getting size of file from MD5 hash

我有一个文件的 md5 和 sha256 哈希,我想根据哈希值计算文件的大小。

有没有什么方法可以使用我们可用的文件的 md5 或 sha256 哈希来获取文件的大小?

Is there any way to get the size of a file with md5 or sha256 hash of that file available with us ?

不,无法使用哈希确定文件的大小。这是基于 hash 的性质:每个输入大小的输出大小相同。

32 个字符/128 位 md5 和 64 个字符/256 位 sha256