How to generate a random key to encrypt file? Is it possible?
Hello guys…anyone is there to help me??
Hi @sourabhpandare …
you can use the sample attached file to generate a random string based on variables
add/update - variable strAlphaNum characters
update while activity number based on your required key length…
RandomString.xaml (6.8 KB)
or
you can do the random key generation using invoke code activity and you can write your own logic for the random key…
Thanx GBK,
I’ll let you know.
Shall I use this code for the random key? If yes…then How to use???
TripleDESCryptoServiceProvider tdes = new TripleDESCryptoServiceProvider();
tdes.GenerateIV();
tdes.GenerateKey();