I'd like to create a PSK key to use with TLS-RSA-PSK-WITH-AES-256-CBC-SHA - what is the format of this key?
- Anybody can ask a question
- Anybody can answer
- The best answers are voted up and rise to the top
closed as off-topic by e-sushi♦, figlesquidge, Gilles, AFS, DrLecter Mar 19 '14 at 21:15
This question appears to be off-topic. The users who voted to close gave this specific reason:
I would use the Interactive Ruby (irb) command.
This will produce a cryptographically secure random bit sequence, encoded in base64. This one is 32 bytes or 256 bits long. If you prefer hex format, try this: