Keyboard Shortcuts

File
u :up to issue
m :publish + mail comments
M :edit review message
j / k :jump to file after / before current file
J / K :jump to next file with a comment after / before current file
Side-by-side diff
i :toggle intra-line diffs
e :expand all comments
c :collapse all comments
s :toggle showing all comments
n / p :next / previous diff chunk or comment
N / P :next / previous comment
<Up> / <Down> :next / previous line
<Enter> :respond to / edit current comment
d :mark current comment as done
Issue
u :up to list of issues
m :publish + mail comments
j / k :jump to patch after / before current patch
o / <Enter> :open current patch in side-by-side view
i :open current patch in unified diff view
Issue List
j / k :jump to issue after / before current issue
o / <Enter> :open current issue
# : close issue
Comment/message editing
<Ctrl> + s or <Ctrl> + Enter :save comment
<Esc> :cancel edit
Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(284)
Issues Repositories Search
Open Issues | Closed Issues | All Issues | Sign in with your Google Account to create issues and add comments

Issue 6810051: code review 6810051: go.crypto/bcrypt: add Cost function

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 2 months ago by jmhodges
Modified:
13 years, 2 months ago
Reviewers:
dchest
CC:
agl, agl1, dchest, golang-dev
Visibility:
Public.
go.crypto/bcrypt: add Cost function Extracts the cost used to generate a bcrypt hash from the hash itself.

Patch Set 1 #

Patch Set 2 : diff -r ffee30e1c207 https://code.google.com/p/go.crypto #

Patch Set 3 : diff -r ffee30e1c207 https://code.google.com/p/go.crypto #

Patch Set 4 : diff -r ffee30e1c207 https://code.google.com/p/go.crypto #

Total comments: 1

Patch Set 5 : diff -r ffee30e1c207 https://code.google.com/p/go.crypto #

Created: 13 years, 2 months ago
Download [raw] [tar.bz2]
Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -8 lines) Patch
M bcrypt/bcrypt.go View 1 2 3 4 6 chunks +18 lines, -7 lines 0 comments Download
M bcrypt/bcrypt_test.go View 1 3 chunks +24 lines, -1 line 0 comments Download
Total messages: 6
|
jmhodges
Hello agl@chromium.org (cc: dchest@gmail.com, golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go.crypto
13 years, 2 months ago (2012年10月30日 07:05:30 UTC) #1
Hello agl@chromium.org (cc: dchest@gmail.com, golang-dev@googlegroups.com),
I'd like you to review this change to
https://code.google.com/p/go.crypto 
Sign in to reply to this message.
agl1
https://codereview.appspot.com/6810051/diff/1002/bcrypt/bcrypt.go File bcrypt/bcrypt.go (right): https://codereview.appspot.com/6810051/diff/1002/bcrypt/bcrypt.go#newcode117 bcrypt/bcrypt.go:117: // Cost returns the cost that the hashed password ...
13 years, 2 months ago (2012年10月30日 16:37:38 UTC) #2
https://codereview.appspot.com/6810051/diff/1002/bcrypt/bcrypt.go
File bcrypt/bcrypt.go (right):
https://codereview.appspot.com/6810051/diff/1002/bcrypt/bcrypt.go#newcode117
bcrypt/bcrypt.go:117: // Cost returns the cost that the hashed password was made
with. This is
I don't think this comment is quite right. Why is Cost useful when a user's hash
needs to be made more difficult? (I know why, but not by reading the comment.)
// Cost returns the hashing cost used to create the given hashed password. When,
in the future, the hashing cost of a password system needs to be increased in
order to adjust for greater computational power, this function allows one to
establish which passwords need to be updated.
Sign in to reply to this message.
dchest
LGTM with agl's suggestion.
13 years, 2 months ago (2012年10月30日 16:49:59 UTC) #3
LGTM with agl's suggestion.
Sign in to reply to this message.
jmhodges
Hello agl@chromium.org, agl@golang.org, dchest@gmail.com (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 2 months ago (2012年10月30日 16:56:42 UTC) #4
Sign in to reply to this message.
jmhodges
Gentlest of pings.
13 years, 2 months ago (2012年10月31日 16:31:47 UTC) #5
Gentlest of pings.
Sign in to reply to this message.
agl1
*** Submitted as http://code.google.com/p/go/source/detail?r=7fd55a277056&repo=crypto *** go.crypto/bcrypt: add Cost function Extracts the cost used to generate ...
13 years, 2 months ago (2012年10月31日 16:36:10 UTC) #6
*** Submitted as
http://code.google.com/p/go/source/detail?r=7fd55a277056&repo=crypto ***
go.crypto/bcrypt: add Cost function
Extracts the cost used to generate a bcrypt hash from the hash itself.
R=agl, agl, dchest
CC=golang-dev
http://codereview.appspot.com/6810051
Committer: Adam Langley <agl@golang.org>
Sign in to reply to this message.
|
Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b

AltStyle によって変換されたページ (->オリジナル) /