Helpers that are meant to be copied, pasted and modified... not imported.
The secretbox library is intended to minimize the number of ways to screw things up, but using it still requires some setup.
func Seal(data, key []byte) []byte {
if len(key) != 32 {
panic("invalid key length")
}