Combined Signature and Encryption Schemes.



So, lets say I want to create a secure messaging system based on public
key crypto. I start with something like PGP. Peoples may or not have a
Key Pair, so there are 4 ways to send a message:

1) Not signed, Not encrypted (neither sender or recipient has keys)
2) Signed, Not encrypted (recipient doesnt have key)
3) Not Signed, Encrypted (sender doesnt have key)
4) Signed, Encrypted (both have keys)

So now, I decide I'm going to have an Signature Scheme, and an
Encryption Scheme. For now those are independant Schemes.

My Signature Scheme is basically going to be a Hash on the Plaintext,
and then a signature primitive, such as RSA or ECDSA, on this hash.

Now I want my Encryption Scheme to be safe against Chosen Ciphertext
Attacks, so it includes a MAC on the Ciphertext.

So now basically I have three operations that operate on the full
message data:

1) A Hash on the Plaintext
2) A block cipher on the Plaintext, this gives me the CipherText
3) A Mac on the Ciphertext

So I'm wondering if it is possible to optimize this so that I only need
2 passes on the full data ? In particular I'm thinking there might be a
way to combine the Signature and Encryption schemes to achieve this.

Thanks

.



Relevant Pages

  • Re: Using a Magic Value in Place of Authentication
    ... The plaintext m_1 is encrypted under encryption system E with key Const_1 to yield the ciphertext C? ... many interpretations. ... When you say key, you don't mean the key of the encryption scheme, but probably the "magic value" the OP referred to. ...
    (sci.crypt)
  • Cryptography FAQ (08/10: Technical Miscellany)
    ... How do I use compression with encryption? ... What does ``random'' mean in cryptography? ... WordPerfect encryption has been shown to be very easy to break. ... where the ciphertext is something like the ...
    (sci.crypt)
  • Cryptography FAQ (08/10: Technical Miscellany)
    ... How do I use compression with encryption? ... What does ``random'' mean in cryptography? ... WordPerfect encryption has been shown to be very easy to break. ... where the ciphertext is something like the ...
    (sci.crypt)
  • Cryptography FAQ (08/10: Technical Miscellany)
    ... How do I use compression with encryption? ... What does ``random'' mean in cryptography? ... WordPerfect encryption has been shown to be very easy to break. ... where the ciphertext is something like the ...
    (sci.crypt)
  • Vulnerability in Crypt::CBC Perl module, versions <= 2.16
    ... block of plaintext prior to encryption. ... In order for ciphertext encrypted by Crypt::CBC to be decrypted, ... The older, deprecated, header type is known as the "RandomIV" ... Other>8-byte cipher algorithms will be similarly affected. ...
    (Bugtraq)

Loading