Switch up API of cryptobox to match secretbox