OLD | NEW |
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 part of "dart:io"; | 5 part of dart.io; |
6 | 6 |
7 class _CryptoUtils { | 7 class _CryptoUtils { |
8 static const int PAD = 61; // '=' | 8 static const int PAD = 61; // '=' |
9 static const int CR = 13; // '\r' | 9 static const int CR = 13; // '\r' |
10 static const int LF = 10; // '\n' | 10 static const int LF = 10; // '\n' |
11 static const int LINE_LENGTH = 76; | 11 static const int LINE_LENGTH = 76; |
12 | 12 |
13 static const String _encodeTable = | 13 static const String _encodeTable = |
14 "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; | 14 "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; |
15 | 15 |
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
439 | 439 |
440 _h[0] = _add32(a, _h[0]); | 440 _h[0] = _add32(a, _h[0]); |
441 _h[1] = _add32(b, _h[1]); | 441 _h[1] = _add32(b, _h[1]); |
442 _h[2] = _add32(c, _h[2]); | 442 _h[2] = _add32(c, _h[2]); |
443 _h[3] = _add32(d, _h[3]); | 443 _h[3] = _add32(d, _h[3]); |
444 _h[4] = _add32(e, _h[4]); | 444 _h[4] = _add32(e, _h[4]); |
445 } | 445 } |
446 | 446 |
447 List<int> _w; | 447 List<int> _w; |
448 } | 448 } |
OLD | NEW |