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

Unified Diff: pkg/crypto/lib/src/hash_utils.dart

Issue 16410007: Get the api docs generated for the crypto package (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/crypto/lib/src/crypto_utils.dart ('k') | pkg/crypto/lib/src/hmac.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/crypto/lib/src/hash_utils.dart
diff --git a/pkg/crypto/lib/src/hash_utils.dart b/pkg/crypto/lib/src/hash_utils.dart
index 4188c5248d30d8df2d193d987f28534245499c33..713dbb9d2cd0ce6f8475bb1de5a87de16eb3ea73 100644
--- a/pkg/crypto/lib/src/hash_utils.dart
+++ b/pkg/crypto/lib/src/hash_utils.dart
@@ -2,7 +2,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-part of dart.crypto;
+part of crypto;
// Constants.
const _MASK_8 = 0xff;
@@ -33,7 +33,7 @@ abstract class _HashBase implements Hash {
// Update the hasher with more data.
add(List<int> data) {
if (_digestCalled) {
- throw new HashException(
+ throw new StateError(
'Hash update method called after digest was retrieved');
}
_lengthInBytes += data.length;
« no previous file with comments | « pkg/crypto/lib/src/crypto_utils.dart ('k') | pkg/crypto/lib/src/hmac.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698