Did a CTF this weekend for a crypto task w/ a custom encryption scheme using substitution rotation, I wanted to try something different: to produce reverse versions of the relevant functions by passing them to ChatGPT, asking for a function that reverses the provided one.