Browse Source

remove decrypt debugging.

remove-cryptography-dependency
Herbert Poul 5 years ago
parent
commit
4f2946b76c
  1. 5
      lib/src/internal/crypto_utils.dart

5
lib/src/internal/crypto_utils.dart

@ -88,13 +88,8 @@ class AesHelper {
final out = Uint8List(inp.lengthInBytes); final out = Uint8List(inp.lengthInBytes);
_logger.finest('Starting processBlocks. (${inp.lengthInBytes})'); _logger.finest('Starting processBlocks. (${inp.lengthInBytes})');
var twoPercent = inp.lengthInBytes ~/ 100 * 2;
for (var offset = 0; offset < inp.lengthInBytes;) { for (var offset = 0; offset < inp.lengthInBytes;) {
offset += cipher.processBlock(inp, offset, out, offset); offset += cipher.processBlock(inp, offset, out, offset);
if (offset > twoPercent) {
_logger.finest('> 2% done. ($offset)');
twoPercent = inp.lengthInBytes;
}
} }
_logger.finest('Done processBlocks.'); _logger.finest('Done processBlocks.');

Loading…
Cancel
Save