I'm looking to find a method of encryption to encrypt a long list of characters and numbers. For example I could encrypt a list of 120 characters, including 0-9 numbers, and a-z characters. Then I want the outcome to always look something like "abc123def456". So an outcome might look like "ioe527kkl981", that is 3 letters followed by 3 numbers followed by 3 letters followed by 3 numbers.
Is this possible, and if so what's the easiest way to do it?
Thank you.
What you're talking about (the outcome) is called ciphertext. You would need to come up with your encryption scheme to allow you to encrypt or obfuscate your information in that way. However, with that kind of specific output, you're imparting a method to decrypt it as well.
If you're really that interested in a specific ciphertext pattern, my suggestion would be to hash the data, then write code that would record the original positions of the unsorted key.
Hash: 9F86D081884C7D659A2FEAA0C55AD015A3BF4F1B2B0B822CD15D6C15B0F00A08
Your ciphertext: fdc 896 daf ....
Your keymap of positions: f2, d5, c12 ...
Lots of other solutions to do what you're looking to do.