Skip to content

Commit

Permalink
Readme clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
ChandraNarreddy authored Oct 18, 2019
1 parent 4c482e0 commit 2976deb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,18 @@ SIV-AES (rfc5297) implementation for Golang.
## Usage
* Import siv into your source
```
go get https://github.com/ChandraNarreddy/siv
go get github.com/ChandraNarreddy/siv
```
```
import "github.com/ChandraNarreddy/siv"
```
* Create a Blockpair as -
```
pair, _ := siv.NewAesSIVBlockPair([]key)
pair, _ := siv.NewAesSIVBlockPair(key)
```
The key can be 256, 384 or 512 bits in size
where key can be 256, 384 or 512 bit sized []byte array

* Instantiate SIV as -
* Initialize SIV as -
```
siv, _ := siv.NewSIV(pair)
```
Expand Down

0 comments on commit 2976deb

Please sign in to comment.