Commit Graph

14 Commits

Author SHA1 Message Date
floitsch@google.com 4a7dfd2da3 Big merge from experimental to bleeding edge.
Review URL: https://codereview.chromium.org//11783009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16687 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-07 11:23:16 +00:00
ager@google.com 5ddf3ceadd Add verify method to HMAC instances to have a comparison utility that does not leak information through timing.
R=ajohnsen@google.com
BUG=

Review URL: https://codereview.chromium.org//11417138

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15245 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-22 11:49:02 +00:00
gram@google.com cdb7da543b Library syntax updates. Covers all remaining files in ~/tests aprt from ~/tests/language and ~/tests/standalone.
Review URL: https://codereview.chromium.org//11358203

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14815 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-12 22:45:18 +00:00
floitsch@google.com e7c5e69beb Make String.charCodes a getter.
Review URL: https://codereview.chromium.org//11263040

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14078 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-25 14:25:43 +00:00
ahe@google.com 6254729761 Revert "Parts must start with 'part of'" and "Attempt to fix VM build"
This reverts r13961 and r13963.

Review URL: https://codereview.chromium.org//11233061

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13967 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 14:24:04 +00:00
scheglov@google.com 50b5b6e1a8 Parts must start with 'part of'
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13961 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 13:20:50 +00:00
iposva@google.com fedcff55ed - Change "static final" to "static const" in the tests/ directory.
Review URL: https://chromiumcodereview.appspot.com//10871071

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11350 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-24 22:21:20 +00:00
ager@google.com e943ed9998 Add base 64 encoding to the crypto library utils.
It is clearly useful for Crypto APIs. Whether or not we should move
base64 encoding somewhere else can be discussed. However, at least
it is available now.

R=sgjesse@google.com
BUG=dartbug.com/2458
TEST=tests/lib/crypto/base64_test.dart

Review URL: https://chromiumcodereview.appspot.com//10456028

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8108 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-30 15:16:06 +00:00
ager@google.com b6e35655cf Make the crypto library an official dart:crypto library.
The library now works on dart2js and on the VM.

Add the library to the API docs and to the sdk.

R=iposva@google.com,dgrove@google.com,kasperl@google.com
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//10332109

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7604 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-14 11:20:56 +00:00
ager@google.com 7a29f7b569 Implement md5 hash in crypto library.
It might be nicer to leave it out because we do not want to
encourage its use. On the other hand, there are multiple
places where md5 hashing is used so making it available
seems like the right thing to do.

R=sgjesse@google.com,benl@google.com
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//10351008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7406 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-08 08:32:52 +00:00
ager@google.com 2093c28840 Add CryptoUtils class.
Currently only contains digestToHex to convert a message digest to a hex string.

R=sgjesse@google.com
BUG=dartbug.com/2839
TEST=

Review URL: https://chromiumcodereview.appspot.com//10383041

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7384 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-07 14:34:56 +00:00
ager@google.com 03b9fb77c3 Add library tags to allow Dartium to run the crypto tests.
R=sgjesse@google.com

Review URL: https://chromiumcodereview.appspot.com//10273004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7148 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-30 10:31:03 +00:00
ager@google.com a51e9e3591 Implement HMAC support in lib/crypto.
R=sgjesse@google.com,benl@google.com
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//10170027

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7145 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-30 09:54:59 +00:00
sigmund@google.com 45efebba9a test rename overhaul: step 10 - crypto tests, and add back other tests commited
recently, but just before the rename overhaul.

Review URL: https://chromiumcodereview.appspot.com//10229002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7115 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-28 00:12:28 +00:00