https://github.com/cjpatton/sgcm
Improvements to Go's implementation of Galois counter mode.
https://github.com/cjpatton/sgcm
Last synced: over 1 year ago
JSON representation
Improvements to Go's implementation of Galois counter mode.
- Host: GitHub
- URL: https://github.com/cjpatton/sgcm
- Owner: cjpatton
- License: bsd-3-clause
- Created: 2018-01-29T01:17:27.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-16T22:28:15.000Z (over 8 years ago)
- Last Synced: 2025-03-24T11:58:22.853Z (over 1 year ago)
- Language: Go
- Size: 54.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
This package adds enhancements to Go's implementation of Galois counter mode
authenticated encryption. Specifically, it adds two features: online encryption,
decryption, and verification (meaning the operation does one pass of the
plaintext or ciphertext), and the ability to efficiently "fast-forward" the key
stream so as to facilitate random access of the ciphertext.
Much of this code comes from the Go project; see LICENSE in this directory for
terms of use. For a summary of changes, have a look at:
https://github.com/golang/go/compare/master...cjpatton:master
TODO(cjpatton)
* Change TagSize() to Overhead() in AEADEncryptor and AEADDecryptor interfaces.
* Improve test coverage. (The original code does not have test vectors for
extended nonces.)