mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Use crypto package for BASE64 encoding.
This means we no longer depend on the dart 1.13 beta SDK.
This commit is contained in:
parent
6637a2721f
commit
51cd945113
@ -3,7 +3,7 @@
|
||||
// found in the LICENSE file.
|
||||
|
||||
import 'dart:async';
|
||||
import 'dart:convert';
|
||||
import 'dart:convert' hide BASE64;
|
||||
import 'dart:io';
|
||||
import 'dart:typed_data';
|
||||
|
||||
@ -11,6 +11,7 @@ import 'package:asn1lib/asn1lib.dart';
|
||||
import 'package:bignum/bignum.dart';
|
||||
import 'package:cipher/cipher.dart';
|
||||
import 'package:cipher/impl/client.dart';
|
||||
import 'package:crypto/crypto.dart';
|
||||
|
||||
export 'package:cipher/cipher.dart' show AsymmetricKeyPair;
|
||||
|
||||
|
||||
@ -9,6 +9,7 @@ dependencies:
|
||||
yaml: ^2.1.3
|
||||
asn1lib: ^0.4.1
|
||||
cipher: ^0.7.1
|
||||
crypto: ^0.9.1
|
||||
path: ^1.3.0
|
||||
environment:
|
||||
sdk: '>=1.12.0 <2.0.0'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user