commit | 0848c9571904fcbcb24543358ca8b5a7dbfde875 | [log] [tgz] |
---|---|---|
author | Filippo Valsorda <filippo@golang.org> | Fri Apr 10 21:31:37 2020 -0400 |
committer | Filippo Valsorda <filippo@golang.org> | Tue Apr 14 17:38:20 2020 +0000 |
tree | b82aa3937b1e5f2550f60e218d821c53749586d4 | |
parent | 4f8f47aa7992c1b4e3e3e3504645a9e4e075fc81 [diff] |
chacha20poly1305: improve ExampleNewX The example was failing to direct users on what to do with the nonce, which should be almost universally prepended to the ciphertext. Also, leaving key out of the function was pulling the entire file into the example. Updates golang/go#38369 Change-Id: I3a13342fff02e1a5d6f9c4ef2a8bddf0b1097707 Reviewed-on: https://go-review.googlesource.com/c/crypto/+/227937 Run-TryBot: Filippo Valsorda <filippo@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Katie Hockman <katie@golang.org>
This repository holds supplementary Go cryptography libraries.
The easiest way to install is to run go get -u golang.org/x/crypto/...
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/crypto
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the crypto repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/crypto:” in the subject line, so it is easy to find.
Note that contributions to the cryptography package receive additional scrutiny due to their sensitive nature. Patches may take longer than normal to receive feedback.