Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Is HMAC secure if message is not encrypted?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Tim Boemker  
View profile  
 More options Feb 16 2012, 11:12 am
Newsgroups: sci.crypt
From: Tim Boemker <t...@boemker.com>
Date: Thu, 16 Feb 2012 08:12:16 -0800 (PST)
Local: Thurs, Feb 16 2012 11:12 am
Subject: Is HMAC secure if message is not encrypted?
The Java Secure Socket Extension Reference Guide (http://
docs.oracle.com/javase/6/docs/technotes/guides/security/jsse/
JSSERefGuide.html) says this about HMAC:

"If Alice wants to be sure that Charlie does not tamper with her
message to Bob, she can calculate an HMAC for her message and append
the HMAC to her original message. She can then encrypt the message
plus the HMAC using a secret key she shares with Bob. When Bob
decrypts the message and calculates the HMAC, he will be able to tell
if the message was modified in transit. With SSL, an HMAC is used with
the transmission of secure data."

Suppose that Alice doesn't care whether Charlie can read her message
to Bob; she cares only that Charlie can't tamper with it.  In that
case, is is necessary for Alice to encrypt the message (plus the
HMAC), or could she send the plaintext of the message plus the HMAC?

If it's necessary for Alice to encrypt the message plus HMAC, is it
necessary that the encryption key be different than the one used to
compute the HMAC?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Scott Fluhrer  
View profile  
 More options Feb 16 2012, 12:20 pm
Newsgroups: sci.crypt
From: "Scott Fluhrer" <sfluh...@ix.netcom.com>
Date: Thu, 16 Feb 2012 12:20:12 -0500
Local: Thurs, Feb 16 2012 12:20 pm
Subject: Re: Is HMAC secure if message is not encrypted?

"Tim Boemker" <t...@boemker.com> wrote in message

news:b034b3dd-42a6-4ab8-815e-607d78cda657@m5g2000yqk.googlegroups.com...

If all you need is just message integrity, just doing HMAC is a perfectly
fine idea.  In fact, if you use an SSL cipher suite that does only integity
(say, 2 == TLS_RSA_WITH_NULL_SHA), that is precisely what it does.

--
poncho


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »