Registry / crypto / secure-io-siv-go

secure-io-siv-go

JSON →
library0.0.0-20180922214919-5ff40651e2c4gogounverified

Package siv implements the Synthetic Initialization Vector (SIV) authenticated encryption scheme specified in RFC 5297, including AES-GCM-SIV and AES-SIV-CMAC for misuse-resistant AEAD.

go get github.com/secure-io/siv-go
INSTALL
IMPORT
SIG · SECURE-IO-SIV-GO
S
secure-io-siv-go
cryptogov0.0.0-20180922214919-5ff40651e2c4
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.

siv
github.com/secure-io/siv-go

Encrypts plaintext using AES-GCM-SIV with a 256-bit key.

package main import ( "fmt" "github.com/secure-io/siv-go" ) func main() { key := make([]byte, 32) plaintext := []byte("Hello, world!") nonce := make([]byte, 12) ciphertext, err := siv.Encrypt(nil, plaintext, nonce, nil, key) if err != nil { panic(err) } fmt.Printf("Ciphertext: %x\n", ciphertext) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20180922214919-5ff40651e2c4latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
22 hits · last 30 days
node
20
Amazon
1
Resources
secure-io-siv-go — go get secure-io-siv-go · libregistry