# Re: [long] C code of PEARL1, a block encryption algorithm emphasising simplicity

*From*: Mok-Kong Shen <mok-kong.shen@xxxxxxxxxxx>*Date*: Thu, 19 Aug 2010 16:05:34 +0200

Tran Ngoc Duong wrote:

The all-zero string is then "encrypted" into all-zero string. It looks

like that it is easily distinguishable from a random function. That's

not good.

Thank you very much for this valuable comment. I really need an xor

before the matrix multiplication. I'll correct this in version 1.1.

The forthcoming PEARL2 will have block chaining (within the framework

of authentication), where for each block 4 more PRN will also be used

in the chaining values. This would take care of this problem.

M. K. Shen

.

**Follow-Ups**:**Re: [long] C code of PEARL1, a block encryption algorithm emphasising simplicity***From:*Tran Ngoc Duong

**References**:**[long] C code of PEARL1, a block encryption algorithm emphasising simplicity***From:*Mok-Kong Shen

**Re: [long] C code of PEARL1, a block encryption algorithm emphasising simplicity***From:*Tran Ngoc Duong

- Prev by Date:
**Re: McEliece cryptosystem vs quantum computers** - Next by Date:
**Re: [long] C code of PEARL1, a block encryption algorithm emphasising simplicity** - Previous by thread:
**Re: C code of PEARL1, a block encryption algorithm emphasising simplicity** - Next by thread:
**Re: [long] C code of PEARL1, a block encryption algorithm emphasising simplicity** - Index(es):