如果碰到hash冲突的情况怎么办?有没有可能两个文件产生相同的hash值?

  • 我们相信在现代,安全,防冲突的加密Hash函数算法中Hash冲突的概率是非常之低。 而且找到hash成一个特定值(第二原像攻击)的第二个文件的可能性更小。 世界各地的密码系统依赖于这些价值是安全的,因此我们认为在Filecoin中这样做是安全的。

    也就是说,安全的Hash函数算法曾在过去破损过。 我们在安全Hash函数算法中发现的Hash冲突大多数是由于密码分析(例如md5和sha1)中的Hash函数的破损引起的。 这种可能性总是有的,大多数其他密码系统 - 如比特币,以太坊,DNSSEC,证书颁发机构,HTTPS等和其他 - 同样脆弱。 不过,我们已经为这个低概率事件计划好了应对方式!我们的内容标识符(CID)使用Multihash格式,以允许安全升级到新的HASH函数算法。

Log in to reply
 

Email:filapp@protonmail.com

Twitter:

https://twitter.com/RalapXStartUp

Telegram:

https://t.me/bigdog403

全球Filecoin中文爱好者网站

友情链接: 黑池
  • X

    @xiedapao
    If there does exist such a thing, I cannot find it.

    zenground0 [7 hours ago]
    I don't believe there is

    zenground0 [7 hours ago]
    tho maybe phritz has some "refactor the vm" issues that are relevant

    laser [7 hours ago]
    I assert to you that we must create an InitActor in order for CreateStorageMiner conform to the specification.

    Why [7 hours ago]
    I’ll take things I don’t disagree with for $400 Alex

    zenground0 [7 hours ago]
    Agreement all around. However this is one of those changes that is pretty orthogonal to getting the storage protocol to work and something we can already do. We need to track it but I see it as a secondary priority to (for example) getting faults or arbitrating deals working.

    anorth [3 hours ago]
    Thanks @zenground0, I concur. Init actor is in our high-level backlog, but I'm not surprised there's no issue yet. Is it reasonable to draw our boundary there for now?

    阅读更多
  • X

    Does there already exist a story which addresses the need to create an InitActor?

    阅读更多
  • X

    @xiedapao [filecoin mining]
    I believe that a solution to this problem is that the rust-fil-proofs CircleCI build needs to be modified to link the libfilecoin_proofs.a archive file to a dummy C program using the same pkg-config file which go-filecoin uses.

    阅读更多
  • X

    @xiedapao [filecoin mining]
    The libfilecoin_proofs.a file has a few dynamic dependencies - things we can't link in statically, like glibc - and the linker flags have to been updated manually. Unfortunately, rust-fil-proofs CircleCI build doesn't try to link the libfilecoin_proofs.a file, so we don't know when we get the linker flags wrong until we've already updated the go-filecoin submodule SHA.

    阅读更多

Looks like your connection to Filecoin.cn中国爱好者社区 was lost, please wait while we try to reconnect.