Code Comments
Programming Forum and web based access to our favorite programming groups.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
Post Follow-up to this messagestig wrote: > 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
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.