| Index: pkg/crypto/lib/src/hmac.dart
|
| diff --git a/pkg/crypto/lib/src/hmac.dart b/pkg/crypto/lib/src/hmac.dart
|
| index ba6cc11fc9218076adc5fa19a15259fd76e662cd..a4ea193b9b137d697a2dd51a4002094909d943d0 100644
|
| --- a/pkg/crypto/lib/src/hmac.dart
|
| +++ b/pkg/crypto/lib/src/hmac.dart
|
| @@ -12,12 +12,15 @@ part of crypto;
|
| */
|
| // TODO(floitsch): make Hash implement Sink, EventSink or similar.
|
| class HMAC {
|
| + final List<int> _message;
|
| + Hash _hash;
|
| + List<int> _key;
|
| bool _isClosed = false;
|
|
|
| /**
|
| * Create an [HMAC] object from a [Hash] and a key.
|
| */
|
| - HMAC(Hash this._hash, List<int> this._key) : _message = [];
|
| + HMAC(Hash this._hash, List<int> this._key): _message = [];
|
|
|
| /**
|
| * Add a list of bytes to the message.
|
| @@ -106,9 +109,4 @@ class HMAC {
|
| }
|
| return result == 0;
|
| }
|
| -
|
| - // HMAC internal state.
|
| - Hash _hash;
|
| - List<int> _key;
|
| - final List<int> _message;
|
| }
|
|
|