16 lines
626 B
Markdown
16 lines
626 B
Markdown
|
# AES CBC Ciphertext Stealing
|
||
|
[![GoDoc](https://godoc.org/gopkg.in/jcmturner/aescts.v1?status.svg)](https://godoc.org/gopkg.in/jcmturner/aescts.v1) [![Go Report Card](https://goreportcard.com/badge/gopkg.in/jcmturner/aescts.v1)](https://goreportcard.com/report/gopkg.in/jcmturner/aescts.v1)
|
||
|
|
||
|
Encrypt and decrypt data using AES CBC Ciphertext stealing mode.
|
||
|
|
||
|
Reference: https://en.wikipedia.org/wiki/Ciphertext_stealing#CBC_ciphertext_stealing
|
||
|
|
||
|
To get the package, execute:
|
||
|
```
|
||
|
go get gopkg.in/jcmturner/aescts.v1
|
||
|
```
|
||
|
To import this package, add the following line to your code:
|
||
|
```go
|
||
|
import "gopkg.in/jcmturner/aescts.v1"
|
||
|
|
||
|
```
|