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

Side by Side Diff: lib/crypto/crypto.dart

Issue 10829459: Deprecate Math object in corelib in favor of dart:math library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address review comments. Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « lib/compiler/implementation/util/uri_extras.dart ('k') | lib/crypto/crypto_vm.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #library('dart:crypto'); 5 #library('dart:crypto');
6 6
7 #import('dart:math');
8
7 #source('crypto_utils.dart'); 9 #source('crypto_utils.dart');
8 #source('hash_utils.dart'); 10 #source('hash_utils.dart');
9 #source('hmac.dart'); 11 #source('hmac.dart');
10 #source('md5.dart'); 12 #source('md5.dart');
11 #source('sha1.dart'); 13 #source('sha1.dart');
12 #source('sha256.dart'); 14 #source('sha256.dart');
13 15
14 /** 16 /**
15 * Interface for cryptographic hash functions. 17 * Interface for cryptographic hash functions.
16 * 18 *
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 /** 122 /**
121 * HashExceptions are thrown on invalid use of a Hash 123 * HashExceptions are thrown on invalid use of a Hash
122 * object. 124 * object.
123 */ 125 */
124 class HashException { 126 class HashException {
125 HashException(String this.message); 127 HashException(String this.message);
126 toString() => "HashException: $message"; 128 toString() => "HashException: $message";
127 String message; 129 String message;
128 } 130 }
129 131
OLDNEW
« no previous file with comments | « lib/compiler/implementation/util/uri_extras.dart ('k') | lib/crypto/crypto_vm.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698