How to manager the secret key of RSAEncrypt
-
the key(public and private) is stored in KeyContainer, I do not export public-key and private-key. the program run next time, How to get the right public-key and private-key? please give me the simple code,Thanks.
-
the key(public and private) is stored in KeyContainer, I do not export public-key and private-key. the program run next time, How to get the right public-key and private-key? please give me the simple code,Thanks.
You should save your public and private keys somewhere, otherwise how can you use them again later? Their usage is to make the public key available to everyone you want to exchange encrypted informations with you, and hold the private key somewhere where only you are able to access it ;)
-
You should save your public and private keys somewhere, otherwise how can you use them again later? Their usage is to make the public key available to everyone you want to exchange encrypted informations with you, and hold the private key somewhere where only you are able to access it ;)
-
Then, what does KeyContainer have to use? the KeyContainer can not store cipherkey , Why MS provided it? What is KeyContainer practical significance?