Am looking for original creative REGEX ideas on how to do a SIMPLE regex encrypt and FAST decrypt.
All web hits return long complicated algorithms -- need something extremely fast to decrypt data on the fly.
number string = "1234567890"
text string = "The text may be a lot longer than the numbers characters, so the numberstring has to repeat"
test string = "or short"
Want to encrypt the text string against the number string, fielding overflow and underflow of either/both.
Number string can be pre-pack to a single numeric value, if necessary, but the key here is speed of decryption.
PGP or anything like it is not needed. Just want to render data hard to discover, but fast to recover.
Am thinking a ONE-LINER here! Please, no complicated routines, and please explain what your 1-liner does?