commit | a29dc8fdc73485234dbef99ebedb95d2eced08de | [log] [tgz] |
---|---|---|
author | Udalov Max <re.udalov@gmail.com> | Fri Apr 26 17:07:02 2019 +0300 |
committer | Brad Fitzpatrick <bradfitz@golang.org> | Fri Apr 26 14:53:43 2019 +0000 |
tree | a2f61c64a65e49f9abf4d64ac0e5b2e0f6956b72 | |
parent | f162ad860cc521c71b15d01a1176c2e151233e6d [diff] |
scrypt: use math.bits rotate functions instead of ad-hoc implementation This makes code more readable and idiomatic. No change in benchmarks. Updates golang/go#31456 Change-Id: I010bbff33580350019ce2b0ff13847261905d32f Reviewed-on: https://go-review.googlesource.com/c/crypto/+/174137 Reviewed-by: Brad Fitzpatrick <bradfitz@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.