Export s2c12_encrypt. Make the size of @s2c12_key configurable, instead of hard-coded to 16 bytes. Remove the "random 5-10 bytes of prefix and suffix" from s2c12_encrypt -- the problem description is unclear, but it's obvious that it is not solvable nearly as easily with the random-length prefix.