re-Converting an encrypted private key(stored as a String) back to Key type
843811Feb 21 2007 — edited Mar 6 2007Hi - Good day to all :)
I am currently working on an application which involves encrypting a private key
I've used to encrypt a certain set of files. This encrypted private key is stored
(together with other key-value pairs) as a Properties file, which implies that it
is converted to a string (since Properties only accepts strings as key, or values).
How can I convert this stored encrypted private key back to a SecretKey type so
that I can use it to decrypt the set of files I've encrypted?