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

Side by Side Diff: lib/src/hmac.dart

Issue 1586453002: Get rid of all the library tags. (Closed) Base URL: git@github.com:dart-lang/crypto.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « lib/src/hash_sink.dart ('k') | lib/src/md5.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 crypto.hmac;
6
7 import 'dart:convert'; 5 import 'dart:convert';
8 import 'dart:typed_data'; 6 import 'dart:typed_data';
9 7
10 import 'package:typed_data/typed_data.dart'; 8 import 'package:typed_data/typed_data.dart';
11 9
12 import 'digest.dart'; 10 import 'digest.dart';
13 import 'digest_sink.dart'; 11 import 'digest_sink.dart';
14 import 'hash.dart'; 12 import 'hash.dart';
15 13
16 /// An implementation of [keyed-hash method authentication codes][rfc]. 14 /// An implementation of [keyed-hash method authentication codes][rfc].
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 172
175 void close() { 173 void close() {
176 if (_isClosed) return; 174 if (_isClosed) return;
177 _isClosed = true; 175 _isClosed = true;
178 176
179 _innerSink.close(); 177 _innerSink.close();
180 _outerSink.add(_innerResultSink.value.bytes); 178 _outerSink.add(_innerResultSink.value.bytes);
181 _outerSink.close(); 179 _outerSink.close();
182 } 180 }
183 } 181 }
OLDNEW
« no previous file with comments | « lib/src/hash_sink.dart ('k') | lib/src/md5.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698