I am searching for how to generate AES key and IV in vb.net.
http://programmers-en.high-way.info/vb/aes.html
As above link, there is the declaration for AesIV and AesKey.
But I don't want to use hard code for AesIV and AesKey.
Private Const AesIV As String = "!QAZ2WSX#EDC4RFV"
Private Const AesKey As String = "5TGB&YHN7UJM(IK<"
What I want to do is I want to generate random key and IV automatically exactly the same 16character like above example.
Please help me somebody. Thanks...