Registry / crypto / hashicorp-go-kms-wrapping-v2

hashicorp-go-kms-wrapping-v2

JSON →
library2.0.22gogounverified

Package go-kms-wrapping provides a unified interface for encrypting and decrypting data using various Key Management Services (KMS).

go get github.com/hashicorp/go-kms-wrapping/v2
INSTALL
IMPORT
SIG · HASHICORP-GO-KMS-W
H
hashicorp-go-kms-wrapping-v2
cryptogov2.0.22
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

wrapping
github.com/hashicorp/go-kms-wrapping/v2

Creates a test wrapper and encrypts a byte slice.

package main import ( "fmt" "github.com/hashicorp/go-kms-wrapping/v2" ) func main() { wrapper := wrapping.NewTestWrapper(nil) blob, err := wrapper.Encrypt([]byte("secret data")) if err != nil { panic(err) } fmt.Println("Encrypted:", blob) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.0.22latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Amazon
1
Resources
hashicorp-go-kms-wrapping-v2 — go get hashicorp-go-kms-wrapping-v2 · libregistry