H
Harman Sahni
We have a public and private key pair for Credit Card data encryption.
The database part is all done where we generated the key pair.
Public key resides in the database for encryption and we intend to store the
private key in the registry of Windows 2003 server from which our
application will pass it to the stored proc to decrypt back the data.
Problem is that when we use the "Multi-String" value in the registry to
store the private key which looks something like
"----- BEGIN KEY
fooo
bar
tar
"
we get the error "Data of type REG_MULTI_SZ cannot contain empty strings,
Registry editor will remove all empty strings found and hence it messes up
the Key format.
Question: How can we store the key in the registry?
Any help is appreciated!
Rgds,
-H
The database part is all done where we generated the key pair.
Public key resides in the database for encryption and we intend to store the
private key in the registry of Windows 2003 server from which our
application will pass it to the stored proc to decrypt back the data.
Problem is that when we use the "Multi-String" value in the registry to
store the private key which looks something like
"----- BEGIN KEY
fooo
bar
tar
"
we get the error "Data of type REG_MULTI_SZ cannot contain empty strings,
Registry editor will remove all empty strings found and hence it messes up
the Key format.
Question: How can we store the key in the registry?
Any help is appreciated!
Rgds,
-H