Registry / crypto / jcmturner-aescts-v1

jcmturner-aescts-v1

JSON →
library1.0.1gogounverified

Provides AES CBC CipherText Stealing encryption and decryption methods.

go get gopkg.in/jcmturner/aescts.v1
INSTALL
IMPORT
SIG · JCMTURNER-AESCTS-V
J
jcmturner-aescts-v1
cryptogov1.0.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.

aescts
gopkg.in/jcmturner/aescts.v1

Encrypt and decrypt using AES CBC with ciphertext stealing.

package main import ( "crypto/aes" "gopkg.in/jcmturner/aescts.v1" ) func main() { key := []byte("example key 1234") plaintext := []byte("Hello, world!") ciphertext, err := aescts.Encrypt(key, plaintext) if err != nil { panic(err) } decrypted, err := aescts.Decrypt(key, ciphertext) if err != nil { panic(err) } _ = decrypted }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
Amazon
1
Resources
jcmturner-aescts-v1 — go get jcmturner-aescts-v1 · libregistry