Move nacl massaging code from python to Racket.