Re: How can I use AES to encrypt something less than 16 bytes?

From: Andrew Swallow (am.swallow_at_eatspam.btinternet.com)
Date: 10/02/04


Date: Sat, 2 Oct 2004 12:58:09 +0000 (UTC)


"John Savard" <jsavard@excxn.aNOSPAMb.cdn.invalid> wrote in message
news:415e3dc7.580215@news.ecn.ab.ca...
[snip]
>
> Couldn't one use a stateful protocol - send one 12-character packet that
> says Username "Joe", Packet Type 1, serial 1234, and gives the first
> half of a 128-bit initialization vector, another 12-character packet
> that says Username "Joe", packet Type 2, serial 1234, and gives the
> second half of a 128-bit initialization vector, and then two more with
> the first and second halves of the password?
>
> That is what would meet with conventional ideas of security.

You can also use "Joe" as part of your initialisation vector. There
may also be a low level block number in the message that can
be used to make each encryption produce a different value.

Andrew Swallow



Relevant Pages

  • Re: Trojan horse Downloader.Generic.ML
    ... kurt wismer wrote: ... > but as has been shown not too long ago, the initialization vector can be ... "they threw a rope around yer neck to watch you dance the jig of death ...
    (comp.security.firewalls)
  • Re: Trojan horse Downloader.Generic.ML
    ... kurt wismer wrote: ... > but as has been shown not too long ago, the initialization vector can be ... "they threw a rope around yer neck to watch you dance the jig of death ...
    (alt.computer.security)