首页>
外国专利>
High-rate multi-block-length hash function based on block ciphers
High-rate multi-block-length hash function based on block ciphers
展开▼
机译:基于块密码的高速多块长哈希函数
展开▼
页面导航
摘要
著录项
相似文献
摘要
Various embodiments relate to a method of hashing a message M using a block cipher, including: producing N block cipher inputs by XORing message indices i, . . . i+N−1 respectively with state values S0, . . . SN−1, wherein N is an integer greater than 1; producing N block cipher keys by XORing N different blocks of message M and at least one of state values S0, . . . SN−1 for each of the N block cipher keys; encrypting the N block cipher inputs using the respective N block cipher keys to produce N block cipher outputs; combining the N block cipher outputs with N block cipher inputs to produce N block cipher combined outputs Tt, for t=0, . . . , N−1; calculating Y0=T0; calculating Yt=Yt−1⊕Tt, for t=1, . . . , N−1, calculating SN−1′=YN−1a, where a is a number of bits to rotate where S0′, . . . , SN−1′ are new state values; and calculating St′=Yt⊕SN−1′, for t=0, . . . , N−2.
展开▼
机译:各个实施例涉及一种使用块密码对消息M进行散列的方法,该方法包括:通过对消息索引i,...,XOR进行生成N个块密码输入。 。 。 i + N-1分别具有状态值S 0 Sub>,。 。 。 S N-1 Sub>,其中N为大于1的整数;通过对消息M的N个不同的块与状态值S 0 Sub>,...中的至少一个进行XOR运算,生成N个块密码密钥。 。 。 S N-1 Sub>个,用于N个分组密钥;使用相应的N个分组密码密钥对N个分组密码输入进行加密,以产生N个分组密码输出;将N个分组密码输出与N个分组密码输入进行组合,以产生N个分组密码组合输出T t Sub>,其中t = 0。 。 。 ,N-1;计算Y 0 Sub> = T 0 Sub>;对于t = 1,计算Y t Sub> = Y t-1 Sub>⊕T t Sub>。 。 。 ,N-1,计算S N-1 Sub>'= Y N-1 Sub> < a,其中a是要旋转的位数,其中S 0 Sub>',。 。 。 S N-1 Sub>'是新的状态值;并计算t <= 0的S t Sub>'= Y t Sub>⊕S N-1 Sub>'。 。 。 ,N-2。
展开▼