Commit 60fa30a6 authored by Matt Perry's avatar Matt Perry

Use crypto package for BASE64 encoding.

This means we no longer depend on the dart 1.13 beta SDK.
parent d74a7517
......@@ -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'
import 'dart:convert';
import 'dart:convert' hide BASE64;
import 'dart:typed_data';
import 'dart:io';
import 'package:crypto/crypto.dart';
import 'package:flx/signing.dart';
import 'package:flx/bundle.dart';
import 'package:path/path.dart' as path;
......
import 'dart:async';
import 'dart:convert';
import 'dart:convert' hide BASE64;
import 'dart:typed_data';
import 'package:bignum/bignum.dart';
import 'package:cipher/cipher.dart' hide CipherParameters;
import 'package:crypto/crypto.dart';
import 'package:flx/signing.dart';
import 'package:quiver/testing/async.dart';
import 'package:test/test.dart';
import 'package:cipher/cipher.dart' hide CipherParameters;
main() async {
// The following constant was generated via the openssl shell commands:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment