package
2.0.18
Repository: https://github.com/hashicorp/go-kms-wrapping.git
Documentation: pkg.go.dev

# Functions

Deprecated: NewShamirWrapper returns a type of "shamir" instead of "aead" and is for backwards compatibility with old versions of Vault.
NewWrapper creates a new Wrapper.
TestPooledWrapper returns a pooled aead wrapper for testing.
TestWrapper returns a test aead wrapper for testing.
WithAeadType provides a way to chose the type of AEAD to use.
WithHashType provides a wat to choose the type of hash to use for derivation.
WithInfo provides optional info for deriving wrappers.
WithKey provides a common way to pass in a key.
WithRandomReader provides an optional random reader.
WithSalt provides optional salt for deriving wrappers.

# Structs

ShamirWrapper is here for backwards compatibility for Vault; it reports a type of "shamir" instead of "aead".
Wrapper implements the wrapping.Wrapper interface for AEAD.

# Type aliases

OptionFunc holds a function with local options.