Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Security / March 2004

Tip: Looking for answers? Try searching our database.

encrypting MAC using RSA?

Thread view: 
stig - 19 Mar 2004 19:44 GMT
hi

if i have a MAC (message authentication code) created with
javax.crypto.Mac, is there some way of encrypting this MAC using a RSA
with a public key?

whats the difference beetween a digest and a MAC?
can i use the digest instead?

sun java SDK 1.4.2 is used.

/stig
Michael Amling - 20 Mar 2004 03:20 GMT
> if i have a MAC (message authentication code) created with
> javax.crypto.Mac, is there some way of encrypting this MAC using a RSA
> with a public key?

  Yes, but why would you want to?

> whats the difference beetween a digest and a MAC?
> can i use the digest instead?

  A MAC is formed with a secret key. Only those who know the key can
form a valid MAC or verify an existing MAC. A digest is unkeyed.

--Mike Amling


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.