Registry / crypto / minio-sio

minio-sio

JSON →
library0.5.1gogounverified

Package sio implements the DARE format, providing an API for secure en/decrypting IO operations using io.Reader and io.Writer.

go get github.com/minio/sio
INSTALL
IMPORT
SIG · MINIO-SIO
M
minio-sio
cryptogov0.5.1
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.

sio
github.com/minio/sio

Encrypts data using DARE format with a 256-bit key.

package main import ( "bytes" "fmt" "github.com/minio/sio" ) func main() { data := []byte("Hello, World!") key := make([]byte, 32) // 256-bit key var encrypted bytes.Buffer w, _ := sio.EncryptWriter(&encrypted, sio.Config{Key: key}) w.Write(data) w.Close() fmt.Println("Encrypted:", encrypted.Bytes()) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
24 hits · last 30 days
node
12
Bingbot
10
Amazon
1
Resources
minio-sio — go get minio-sio · libregistry