163 reputation
7
bio website op.to/sO+
location Taipei & Hong Kong
age 31
visits member for 2 years, 4 months
seen Feb 6 '13 at 9:37

There's no such thing as "beautiful code"

Beauty is in the design, the concept, the algorithm.

The closer you approach the design, the concept, the algorithm -- the more beautiful the code, but the code itself is never beautiful.


Jan
30
comment Question about use of IV in this cipher
By the initial encryption do you mean where the IV is encrypted? Or when the plaintext is?
Jan
30
accepted Question about use of IV in this cipher
Jan
30
comment Question about use of IV in this cipher
Okay concerns : 1) It's not CSPRING, I generate two 1184 bit random numbers via python's random.randint() (37*32 bit words packed), then take the middle 1184 bits of the product. I think it's good, but not great. 2) Even though the key is scheduled I am concerned that a) the scheduled key_a is used to encrypt the IV, b) the (unscheduled) key_a is combined with the (unencrypted) IV and rescheduled, then the (encrypted) IV is prepended to the ciphertext. It just seems that could not someone get some correlation from that prepended encrypted IV? Even though all stream outputs are incompressible.
Jan
30
awarded  Editor
Jan
30
revised Question about use of IV in this cipher
changed nonce to iv, the correct intention
Jan
30
awarded  Supporter
Jan
30
asked Question about use of IV in this cipher
Aug
1
awarded  Autobiographer