HOWTO: encode a string into a complicated-looking trigonometric function
I’ve written a small C program that takes as its input an arbitrary string and outputs the above function, modified a bit so that you can use the character index directly, i.e. f(4) gives you the
fifth character of the original string.
Near finals time, I tend to hate Mr. Fourier and his works. However, it’s still early enough in the semester that I’m jovial.
HOWTO: encode a string into a complicated-looking trigonometric function