doubi1624 2010-11-11 17:15
浏览 101
已采纳

有没有办法检查文件是否加密? [关闭]

Is there a way to check if a file is encrypted?

  • 写回答

1条回答 默认 最新

  • dongzhi4470 2010-11-11 17:24
    关注

    Assuming text file.

    You can measure character distribution. If characters appear in numbers close to each other (i.e. a small variance) then you most likely have an encrypted file.

    Of course this can only be applied to large enough files. You can't tell if a file containing only "ABC" is encrypted or not.

    Assuming binary data.

    Similar to the above, but it's a little harder to explain.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?