Re: Questions: adacrypt




"AdaCrypt" <austein.obyrne@xxxxxxxxxxxxxx> wrote in message
news:1188564961.268407.137250@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

1 Is there a word for how much memory each plaintext uses when it is
encrypted into ciphertext in cryptography - like say 'specific volume
of memory' of the ciphertext - memory per item?- memory per character?
- memory per block? of the original plaintext character.

Most stream ciphers encrypt 1:1; one plaintext byte is encrypted to one
ciphertext byte.

Block ciphers encrypt plaintext in units of the block size, implying that
plaintext must be padded to a multiple of the block size. Depending on the
padding algorithm, ciphertext may be as much as one full block longer than
the plaintext.

Note that in both cases, some form of authentication code usually
accompanies the message, expanding it further. While this authentication
has nothing to do with the cipher, it's presence is essential to ensure that
the enciphered message is secure and hasn't been tampered with.


2) How important is this from a design point of view given that memory
has become very cheap now.

A very large subset of applications of cryptography involve transmitting the
ciphertext through a hostile environment. The transmission medium is often
a shared resource so to whatever extent the encipherment expands the
message, some other user of the shared resource is denied access. It seems
to me that transmission resources are almost always more expensive than
storage resources.


3) Which cipher has the better rating from this point of view.

From this point of view, all stream applications of ciphers are equivalent.
With block ciphers, the amount wasted in padding is application-dependent.
Let's say you were only enciphering disk blocks in units of 4096 bytes.
Almost all credible block ciphers have block sizes that are submultiples of
this number. Consequently, your application will experience no waste of
space due to padding (unless your algorithm for padding removal requires
that the last plaintext block consist of padding characters). Other
applications may incur padding overhead that averages-out to half of the
block size.

So, block ciphers with smaller block sizes may incur less padding overhead
at the expense of increased vulnerability to attack.


Thanks in anticipation - adacrypt



.



Relevant Pages

  • Vigenere++ Proposal of a (new?) cipher
    ... additional ciphertext shuffling phase. ... which is a fast hash function with a low collision rate and the Mersenne ... plaintext, "C" to indicate the i-th letter of the ciphertext and ... For each character of index "i" of the plaintext: ...
    (sci.crypt)
  • RSA // linking plaintext to ciphertext
    ... >> the plaintext), ... >> ciphertext, ... which is not not the same as the known ciphertext when padding is ... even if encrypt, then sign or sign&encrypt, is used, ...
    (sci.crypt)
  • Re: Need secure block cipher for 96 bits of block size
    ... the first block to give the overall 96 bits of ciphertext. ... then the first 32 bits of the ciphertext will match. ... plaintext space), this can leak information to an adversary. ... If the OP needs to send a 64-bit plaintext using 96 bits, and he can establish an implicit IV, then he could just encrypt 64 bits using CTR mode and apply a 32-bit MAC to the ciphertext. ...
    (sci.crypt)
  • Re: Basic File Encyption
    ... If you gave the right key, you get plaintext. ... If I encrypt a plaintext with a password, I get a ciphertext: ... $> ./foo aliqrfnue password d ...
    (sci.crypt)
  • Re: How to cryptanalysis of Japanese PURPLE cipher machine.
    ... I have a question about PURPLE. ... > PURPLE ciphertext in September 1940 and intervals revealed the ... already completely broken the "sixes" -- early-on frequency counts ... great deal of matched plaintext and ciphertext. ...
    (sci.crypt)