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

# Functions

HmacSha256 the provided data.
HmacSha256WithPrk will HmacSha256 using the provided prk.
DerivedReader returns a reader from which keys can be read, using the given wrapper, reader length limit, salt and context info.
NewSha256SumReader creates a new Sha256Reader.
NewSha256SumWriter creates a new Sha256SumWriter.
Sha256Sum computes SHA256 message digest.
TestHmacSha256 produces a test hmac sha256.
TestWithBlake2b produces a test hmac sha256 using derived blake2b.
TestWithEd25519 produces test hmac sha256 using a derived Ed25519 key.
WithBase58Encoding allows an optional request to base58 encode the data returned.
WithBase64Encoding allows an optional request to base64 encode the data returned.
WithEd25519 allows an optional request to use ed25519 during the operation.
WithHexEncoding allows an optional request to use hex encoding.
WithInfo allows optional info to be specified for an operation.
WithMarshaledSigInfo allows an optional request to wrap the returned data into a marshaled wrapping.SigInfo protobuf.
WithPrefix allows an optional prefix to be specified for the data returned.
WithPrk allows an optional PRK (pseudorandom key) to be specified for an operation.
WithSalt allows optional salt to be specified for an operation.

# Structs

Sha256SumReader provides an io.Reader which can be used to calculate a sum while reading a file.
Sha256SumWriter provides multi-writer which will be used to write to a hash and produce a sum.

# Type aliases

OptionFunc holds a function with local options.