Documentation ¶ Index ¶ func Base64urlEncode(data []byte) string func GeneratedKey(jws *jose.JSONWebEncryption, secret, salt []byte) ([]byte, error) type Digest func GetDigest(encryptionSecret []byte) Digest type JWK Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Base64urlEncode ¶ func Base64urlEncode(data []byte) string func GeneratedKey ¶ func GeneratedKey(jws *jose.JSONWebEncryption, secret, salt []byte) ([]byte, error) Types ¶ type Digest ¶ type Digest string func GetDigest ¶ func GetDigest(encryptionSecret []byte) Digest type JWK ¶ type JWK struct { Kty string `json:"kty"` Crv string `json:"crv,omitempty"` X string `json:"x,omitempty"` Y string `json:"y,omitempty"` E string `json:"e,omitempty"` N string `json:"n,omitempty"` K string `json:"k,omitempty"` } Source Files ¶ View all Source files base64Encode.go calculatejwkThumb.go digest.go generateKey.go getEncryptionKey.go jwk.go Click to show internal directories. Click to hide internal directories.