Why would you even pre-announce this? Has it been compromised in the past?
Scratch that. Code up a brand new implementation, test it and deploy it to an air gapped network, and then nuke it from orbit. It's the only way to be sure. :)
Don't take chances with an unprotected computer. Only write your code on paper until it's production-ready. :)
The only way I'd write code is by biting a tip of finger until it bleeds heavily enough, then using that as a writing implement.
Why would you even pre-announce this? Has it been compromised in the past?