Re: PKI for very short (32bit) messages
From: Joonas Lehtinen (jole_at_jole.fi)
Date: 03/31/04
- Next message: lyal: "Re: Can encrypted data be indexed?"
- Previous message: Simon Johnson: "Re: Crypto Mini-FAQ"
- In reply to: Francois Grieu: "Re: PKI for very short (32bit) messages"
- Next in thread: Andrew Swallow: "Re: PKI for very short (32bit) messages"
- Reply: Andrew Swallow: "Re: PKI for very short (32bit) messages"
- Reply: Francois Grieu: "Re: PKI for very short (32bit) messages"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 31 Mar 2004 00:23:41 -0800
> > Are there any public key methods for encryption of very short
> > (32-bit) messages (..)
> > The goal is to distribute public key for large number of
> > (insecure) recipients that should be fairly sure that the
> > 32-bit messages sent to these recipients over a long period
> > of time originate from the holder of the private key.
> This is public key signature, not encryption.
True, but unfortunately my application has very strict constraints for
message length (32bits). For this reason, encrypted message could be
used for both originator validation and as data carrier. For example,
we could send one bit of data by defining that all hight 31 bits must
be 0 and the recipient can read the message payload from the lowest
bit and check that decrypted message has all higher bits set to 0. Of
course this would imply that a message could not be accepted twice as
then the attacker could just memorize the messages used for sending 0
and 1 messages. Still, for this application it is enough to send such
a message just once (the recipient can use some other validation
bit-configuration each time).
> The size of RSA-processed cyphertext or signature is at least
> about as big as the module (tricks exists to gain just a few bits).
> The size of the plaintext is at most about as big as the module,
> with no minimum (adding random data to the plaintext solves the
> plaintext enumeration.
This is a real problem - for 32bit messages it would only require some
16gigs of space to create map of all possible messages. Also creation
of such map would not be too hard to achieve for possessor of public
key. Just "decrypt" all possible bit-combimations and save the
compinations for locations pointed by the descrypted plaintext. If it
would be possible to increase the message size by, say 16bits, this
attach would become impractical as the size of the map would increase
to 48 * 2^48 bits = ~1500 terabytes.
> Any public key encryption (or signature) scheme must markedly
> expand a short (32 bits) message; else it is trivialy vulnerable
> to enumeration.
If the enumeration can be considered impractical (by increasing
message lenght a bit), are there any methods of keeping the encrypted
message short while using long keys? I would guess that for 48bit
messages enumeration is not viable attack, but if the keysize is also
48bits, factorization of ECC keys might not take too much time.
- Joonas
- Next message: lyal: "Re: Can encrypted data be indexed?"
- Previous message: Simon Johnson: "Re: Crypto Mini-FAQ"
- In reply to: Francois Grieu: "Re: PKI for very short (32bit) messages"
- Next in thread: Andrew Swallow: "Re: PKI for very short (32bit) messages"
- Reply: Andrew Swallow: "Re: PKI for very short (32bit) messages"
- Reply: Francois Grieu: "Re: PKI for very short (32bit) messages"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|