I have to iterate through all alphanumeric characters, including lower case and upper case and numbers and for each one, I have to call the crypt command.
So, I have to check for Aa, aA, 1a, a1, 1A, A1 etc till all possible combinations and call crypt KEY crypt_file.
Is there an efficient way to do this?
Thanks
You can put the characters into an array. Something like:
A double “for” loop should do it: