Questions on cryptography

  • Thread starter Thread starter Nerd
  • Start date Start date
N

Nerd

I am trying cryptography in dotnet using the
System.Security.Cryptography namespaces.
I have a couple of questions

1. If I use SymmetricalAlgorithm RijndaelManaged as the algorithm and
if I
share the Key that I use with other applications that wants to decrypt
this. will they be able to decrypt the message?

I mean is the algorithm RijndaelManaged a universal algorithm?
Just by knowing the key used for encryption will I be able to decrypt
the message?

2. What is a IV(initialization vector). For decrypt a message, is it
necessary to know the IV that was used while encryption? Or just the
key is sufficient?

THanks in advance for the help
 
Yes.

You'll need to use both the IV and the KEY to decrypt the message.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top