func encode(value []byte) []byte {
	encoded := make([]byte, base64.URLEncoding.EncodedLen(len(value)))
	base64.URLEncoding.Encode(encoded, value)
	return encoded
}
// encode encodes a value using base64.
encode encodes a value using base64.
// encode encodes a value using base64 .
func encode(value []byte) []byte {
	encoded := make([]byte, base64.URLEncoding.EncodedLen(len(value)))
	base64.URLEncoding.Encode(encoded, value)
	return encoded
}
func encode ( value [ ] byte ) [ ] byte { encoded := make ( [ ] byte , base64 . URLEncoding . EncodedLen ( len ( value ) ) ) base64 . URLEncoding . Encode ( encoded , value ) return encoded }
encode encodes a value using base64.
encode encodes a value using base64 .