Super-Encryption
Ben Laurie
ben at algroup.co.uk
Mon Dec 15 07:52:59 EST 2003
mlong at bridgetonconsulting.com wrote:
> Sender's Algorithm
>
> SymmetricKey1 = 3DES_IV1, 3DES_Key1
> Cipher1 = 3DES_Encrypt(message)
> Digest = SHA1(message)
> RSA_Key1 = RSA_Private_Encrypt(Digest || 3DES_Key1)
>
> SymmetricKey2 = 3DES_IV2, 3DES_Key2
> Cipher2 = 3DES_Encrypt(Cipher1)
> RSA_Key2 = RSA_Public_Encrypt(3DES_Key2)
>
>
> Receiver's Algorithm
>
> 3DES_Key2 = RSA_Private_Decrypt(RSA_Key2)
> Cipher1 = 3DES_Decrypt(Cipher2)
>
> Digest || 3DES_Key1 = RSA_Public_Decrypt(RSA_Key1)
> message = 3DES_Decrypt(Cipher1)
>
> Compare Digest with SHA1(message)
I don't see any value added by cipher1 - what's the point?
Cheers,
Ben.
--
http://www.apache-ssl.org/ben.html http://www.thebunker.net/
"There is no limit to what a man can do or how far he can go if he
doesn't mind who gets the credit." - Robert Woodruff
---------------------------------------------------------------------
The Cryptography Mailing List
Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com
More information about the cryptography
mailing list