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.