N
Nikolay Petrov
I am using Encryption/Decryption in one of my applications.
This process needs a key, which should be stored somewhere.
I don't want to store it in my code, so I come with idea to make a function
which generates the key. It should be 16 characters in length, must contain
digits and letters(small and big caps). And of course it should return the
same string every time it's called.
What I need how to make a function to generate this string of letters and
digits.
And I am lost, can't figure the algoritm.
Any ideas?
Thanks
This process needs a key, which should be stored somewhere.
I don't want to store it in my code, so I come with idea to make a function
which generates the key. It should be 16 characters in length, must contain
digits and letters(small and big caps). And of course it should return the
same string every time it's called.
What I need how to make a function to generate this string of letters and
digits.
And I am lost, can't figure the algoritm.
Any ideas?
Thanks