Skip to content

Commit

Permalink
replace with temp tekartik_encrypt
Browse files Browse the repository at this point in the history
  • Loading branch information
alextekartik committed Feb 26, 2025
1 parent f22d9a8 commit 6f2668a
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app_crypto/lib/src/aes.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import 'dart:convert';

import 'package:crypto/crypto.dart';
import 'package:encrypt/encrypt.dart';
import 'package:tekartik_encrypt/encrypt.dart';

import 'encrypt.dart';

Expand Down
2 changes: 1 addition & 1 deletion app_crypto/lib/src/encrypt.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'dart:typed_data';

import 'package:encrypt/encrypt.dart';
import 'package:tekartik_encrypt/encrypt.dart';

/// encrypt the [decoded] text using [password].
///
Expand Down
2 changes: 1 addition & 1 deletion app_crypto/lib/src/salsa20.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import 'dart:math';
import 'dart:typed_data';

import 'package:crypto/crypto.dart';
import 'package:encrypt/encrypt.dart';
import 'package:tekartik_encrypt/encrypt.dart';

import 'encrypt.dart';

Expand Down
6 changes: 5 additions & 1 deletion app_crypto/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,13 @@ dependencies:
ref: dart3a
version: '>=0.10.7'
meta: ">=1.15.0"
encrypt: '>=5.0.3' # <=5.0.3'
# encrypt: '>=5.0.3' # <=5.0.3'
# Temp aes issue limited to 5.0.1
# encrypt: '<=5.0.3'
tekartik_encrypt:
git:
url: https://github.com/tekartikdev/encrypt
ref: dart3a
crypto:
# Temp web compile issue
pointycastle: '>=3.2.0-rc0'
Expand Down
2 changes: 1 addition & 1 deletion app_crypto/test/aes_test.dart
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import 'package:encrypt/encrypt.dart';
import 'package:tekartik_app_crypto/encrypt.dart';
import 'package:tekartik_app_crypto/src/aes.dart';
import 'package:tekartik_app_crypto/src/generate_password.dart'
show generatePassword;
import 'package:tekartik_encrypt/encrypt.dart';
import 'package:test/test.dart';

void main() {
Expand Down
2 changes: 1 addition & 1 deletion app_crypto/test/raw_aes_test.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'dart:typed_data';

import 'package:encrypt/encrypt.dart';
import 'package:tekartik_encrypt/encrypt.dart';
import 'package:test/test.dart';

/// Old bidirectional encryption
Expand Down

0 comments on commit 6f2668a

Please sign in to comment.