4 ms·
10 is obviously the log rounds number. It's not even a power of two! Nor has any implementation of bcrypt even supported such a low number.
by tedunangst 12y ago
10 is obviously the log rounds number. It's not even a power of two! Nor has any implementation of bcrypt even supported such a low number.
- StavrosK 12y agoHow is it "obvious" when the unit is rounds? Ten was an example, round to 16 if you like. The point is still the same, using few rounds is a risk.
- tedunangst 12y agoBecause the set of values that make sense as linear round counts doesn't overlap with the set that makes sense as log base two work factors. Every implementation takes the log number; it's the only number people ever discuss.
- StavrosK 12y agoAnd do they call it "rounds"? I've only heard it called work factor.
- tedunangst 12y agoAs a shorthand for work factor? Sure. It may be technically inaccurate, much like talking about centrifugal force, but you'll see "10 rounds" far more frequently than you'll see "1024 rounds". There's another thread on this post that refers to it as rounds as well.