logoalt Hacker News

fluoridationtoday at 2:44 AM1 replyview on HN

Very, very briefly, most symmetric algorithms are block ciphers, meaning that their input are blocks of a fixed length in bits (plus a key), and their output is another block of the same length. Ideally, a block cipher with its key produces a random permutation of the input space into the output space, thus diluting the information and dramatically increasing (ideally maximizing) the entropy; what that means is that whether the input is just zeroes and ones in ASCII or fully random, after encryption it should be indistinguishable.


Replies

sghiassytoday at 2:47 AM

Thank you

I wish I knew more in this domain.

It almost sounds like hashing with a salt

show 1 reply