Registry / crypto / dgryski-go-rc2

dgryski-go-rc2

JSON →
library0.0.0-20150621095337-8a9021637152gogounverified

Implements the RC2 symmetric cipher as specified in RFC 2268.

go get github.com/dgryski/go-rc2
INSTALL
IMPORT
SIG · DGRYSKI-GO-RC2
D
dgryski-go-rc2
cryptogov0.0.0-20150621095337-8a9021637152
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.

rc2
✓ github.com/dgryski/go-rc2

Create an RC2 cipher block

package main import ( "crypto/cipher" "fmt" "github.com/dgryski/go-rc2" ) func main() { key := []byte("secretkey") block, err := rc2.New(key) if err != nil { panic(err) } fmt.Println("RC2 cipher created, block size:", block.BlockSize()) }
Debug
Known issues
gotchaRC2 is considered weak and obsolete for modern cryptography
fix
Use AES or ChaCha20 instead for new applications
affects: all
Upgrade
Version history
0.0.0-20150621095337-8a9021637152latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
18 hits · last 30 days
node
16
Resources
dgryski-go-rc2 — go get dgryski-go-rc2 · libregistry