arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.04943cs.CRmath.GRmath.PR
收藏

带饼干(cookies)的凯莱哈希

Cayley hashing with cookies

Vladimir Shpilrain, Bianca Sosnovski

AI总结:

本文提出“带饼干的凯莱哈希”方法,利用F_p上2x2矩阵作为半群,在保留凯莱哈希增量更新优势的同时,消除其易受第二原像攻击的隐患。

摘要:

凯莱哈希函数基于一个简单的思想:使用一对半群元素A和B分别哈希比特0和1,然后通过半群中元素的乘法,以自然的方式哈希任意比特串。与SHA系列等哈希函数相比,凯莱哈希函数的主要优势在于:当已哈希的文档被修改时,无需重新哈希整个修改后的文档,而只需哈希修改的部分,然后将结果乘以原始文档的哈希值。一些作者认为这可能是一个安全隐患,具体而言,该性质可能通过将长比特串分割成较短片段而便于寻找第二原像。在本文中,我们提供了一种方法,在消除这一所谓劣势的同时保留其优势。我们借用随机环境中的随机游走理论术语,将此方法称为“带饼干的凯莱哈希”。对于平台半群,我们使用F_p上的2x2矩阵。

英文摘要:

Cayley hash functions are based on a simple idea of using a pair of semigroup elements, A and B, to hash the 0 and 1 bit, respectively, and then to hash an arbitrary bit string in the natural way, by using multiplication of elements in the semigroup. The main advantage of Cayley hash functions compared to, say, hash functions in the SHA family is that when an already hashed document is amended, one does not have to hash the whole amended document all over again, but rather hash just the amended part and then multiply the result by the hash of the original document. Some authors argued that this may be a security hazard, specifically that this property may facilitate finding a second preimage by splitting a long bit string into shorter pieces. In this paper, we offer a way to get rid of this alleged disadvantage and keep the advantages at the same time. We call this method ``Cayley hashing with cookies" using terminology borrowed from the theory of random walks in a random environment. For the platform semigroup, we use 2x2 matrices over F_p.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑