Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(259)

Issue 10196011: - Add lib/crypto. (Closed)

Created:
8 years, 8 months ago by Ivan Posva
Modified:
8 years, 8 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

- Add lib/crypto. - Add a static SHA1 implementation. Committed: https://code.google.com/p/dart/source/detail?r=6875

Patch Set 1 #

Total comments: 21

Patch Set 2 : #

Patch Set 3 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+158 lines, -0 lines) Patch
A crypto/crypto.dart View 1 2 1 chunk +74 lines, -0 lines 0 comments Download
A crypto/sha1.dart View 1 2 1 chunk +84 lines, -0 lines 1 comment Download

Messages

Total messages: 6 (0 generated)
Ivan Posva
https://chromiumcodereview.appspot.com/10196011/diff/1/crypto/crypto.dart File crypto/crypto.dart (right): https://chromiumcodereview.appspot.com/10196011/diff/1/crypto/crypto.dart#newcode5 crypto/crypto.dart:5: // Helpers used implementing the different crypto algorithms. We ...
8 years, 8 months ago (2012-04-24 09:23:53 UTC) #1
Mads Ager (google)
https://chromiumcodereview.appspot.com/10196011/diff/1/crypto/crypto.dart File crypto/crypto.dart (right): https://chromiumcodereview.appspot.com/10196011/diff/1/crypto/crypto.dart#newcode1 crypto/crypto.dart:1: #library("crypto"); Copyright. https://chromiumcodereview.appspot.com/10196011/diff/1/crypto/crypto.dart#newcode5 crypto/crypto.dart:5: // Helpers used implementing the ...
8 years, 8 months ago (2012-04-24 09:57:46 UTC) #2
Søren Gjesse
https://chromiumcodereview.appspot.com/10196011/diff/1/crypto/sha1.dart File crypto/sha1.dart (right): https://chromiumcodereview.appspot.com/10196011/diff/1/crypto/sha1.dart#newcode1 crypto/sha1.dart:1: class SHA1 { Shouldn't we define an interface common ...
8 years, 8 months ago (2012-04-24 10:30:56 UTC) #3
Ivan Posva
The testing code needs quite a bit more infrastructure, so I will roll this into ...
8 years, 8 months ago (2012-04-24 13:02:35 UTC) #4
Søren Gjesse
lgtm https://chromiumcodereview.appspot.com/10196011/diff/6/crypto/sha1.dart File crypto/sha1.dart (right): https://chromiumcodereview.appspot.com/10196011/diff/6/crypto/sha1.dart#newcode36 crypto/sha1.dart:36: // TODO(iposva): Deal with lengths longer than 32-bits ...
8 years, 8 months ago (2012-04-24 13:14:11 UTC) #5
Mads Ager (google)
8 years, 8 months ago (2012-04-24 13:16:41 UTC) #6
LGTM, I'll take over from here. I'll put in sha256 and use a common interface.
I'll add tests as well.

Powered by Google App Engine
This is Rietveld 408576698