Win a copy of Kotlin in Action this week in the Kotlin forum!
    Bookmark Topic Watch Topic
  • New Topic

How to pass secret key to receiver?  RSS feed

 
Deke D
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi,
I'm using JCE and making a MAC digest of my message. I should pass the secret
key which I'm getting with KeyGenerator's generateKey method like below
SecretKey key = keyGen.generateKey();
Receiver is in other JVM.
How should I pass this key to the receiver?
Br
 
Rob Ross
Bartender
Posts: 2205
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi "Deke D".

You need more than a single letter in your last name.
Please change your name to comply with the naming policy to which you agreed when you registered here..

For your publicly displayed name,
use a first name, a space, and a last name.

You can change your name:
here

You can also find the naming policy:
here
Thank You!
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Report post to moderator
Deke, please don't post the same (or extremely similar) question in multiple forums. It makes it difficult to follow the conversation. Let's continue this conversation back in The Java in General (advanced) Forum...
 
Rob Ross
Bartender
Posts: 2205
  • Mark post as helpful
  • send pies
  • Report post to moderator
Since you're continuing this discussion elsewhere, I'll close this thread.
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!