crypto/bcrypt: new package
A port of Provos and Mazières's adapative hashing algorithm. See http://www.usenix.org/events/usenix99/provos/provos_html/node1.html
I also have a nice performance improvement for blowfish.encryptBlock and decryptBlock, but I'd like to ...
13 years, 4 months ago
(2011-09-12 09:24:56 UTC)
#2
I also have a nice performance improvement for blowfish.encryptBlock and
decryptBlock, but I'd like to let the dust settle around it's public API before
I dig into its private functions.
I'm ok with the interface changes to crypto/blowfish. http://codereview.appspot.com/4964078/diff/2001/src/pkg/crypto/bcrypt/Makefile File src/pkg/crypto/bcrypt/Makefile (right): http://codereview.appspot.com/4964078/diff/2001/src/pkg/crypto/bcrypt/Makefile#newcode1 src/pkg/crypto/bcrypt/Makefile:1: # ...
13 years, 4 months ago
(2011-09-12 14:24:03 UTC)
#3
Please split the blowfish changes into a separate CL. Thanks. http://codereview.appspot.com/4964078/diff/2001/src/pkg/crypto/blowfish/block.go File src/pkg/crypto/blowfish/block.go (right): http://codereview.appspot.com/4964078/diff/2001/src/pkg/crypto/blowfish/block.go#newcode8 ...
13 years, 4 months ago
(2011-09-12 16:46:47 UTC)
#4
Please split the blowfish changes into a separate CL. Thanks.
http://codereview.appspot.com/4964078/diff/2001/src/pkg/crypto/blowfish/block.go
File src/pkg/crypto/blowfish/block.go (right):
http://codereview.appspot.com/4964078/diff/2001/src/pkg/crypto/blowfish/block...
src/pkg/crypto/blowfish/block.go:8: // state of it. It's unlikely that you need
this. Example usage can be
If it's worth exporting, it's worth documenting.
If it's not worth documenting, it's not worth exporting.
Please rewrite this comment to say what ExpandZeroKey does.
"changes the state" is not terribly specific, and the "unlikely that
you need this" is similarly unhelpful to a prospective caller.
Why is it called ExpandZeroKey and not ExpandKey, for
example? If it's a zero key, why do I need to pass a key?
And so on.
On Mon, Sep 19, 2011 at 10:29 AM, <agl@golang.org> wrote: > *** Submitted as > ...
13 years, 4 months ago
(2011-09-19 14:30:30 UTC)
#19
On Mon, Sep 19, 2011 at 10:29 AM, <agl@golang.org> wrote:
> *** Submitted as
> http://code.google.com/p/go/source/detail?r=d8c1aeda704a ***
I tweaked a couple of things before landing:
I removed "Works" from the end of one of the test names
I made TestCost not run in short mode because it was taking > 3
seconds on my workstation. That would probably have been a problem on
slower machines.
Cheers
AGL
SGTM. On Mon, Sep 19, 2011 at 7:30 AM, Adam Langley <agl@golang.org> wrote: > before ...
13 years, 4 months ago
(2011-09-19 16:46:15 UTC)
#20
SGTM.
On Mon, Sep 19, 2011 at 7:30 AM, Adam Langley <agl@golang.org> wrote:
> before landing:
>
> I removed "Works" from the end of one of the test names
>
> I made TestCost not run in short mode because it was taking > 3
> seconds on my workstation. That would probably have been a problem on
> slower machines.
>
>
Issue 4964078: code review 4964078: crypto/bcrypt: new package
(Closed)
Created 13 years, 4 months ago by jmhodges
Modified 13 years, 4 months ago
Reviewers:
Base URL:
Comments: 21