Skip to content

Commit 5912a11

Browse files
committed
Fixes incorrect class constraints.
1 parent b05e0ed commit 5912a11

File tree

5 files changed

+7
-4
lines changed

5 files changed

+7
-4
lines changed

cryptography/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 2.6.1
2+
* Fixes incorrect base class constraints.
3+
14
## 2.6.0
25
* Improves Blake2b/Blake2s support:
36
* Adds support for using as a MAC algorithm

cryptography/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Android / iOS / Mac OS X operating system APIs whenever possible.
3333
In _pubspec.yaml_:
3434
```yaml
3535
dependencies:
36-
cryptography: ^2.5.1
36+
cryptography: ^2.6.1
3737
cryptography_flutter: ^2.3.1 # Remove if you don't use Flutter
3838
```
3939

cryptography/lib/src/browser/browser_cryptography.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import 'hkdf.dart';
3131
import 'hmac.dart';
3232
import 'pbkdf2.dart';
3333

34-
base class BrowserCryptography extends DartCryptography {
34+
class BrowserCryptography extends DartCryptography {
3535
// Documented in browser_cryptography_when_not_browser.dart
3636
static final Cryptography defaultInstance =
3737
isSupported ? BrowserCryptography() : DartCryptography();

cryptography/lib/src/helpers/delegating_classes.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ abstract class DelegatingCipher implements Cipher {
7979
}
8080

8181
/// Delegating base class for [Cryptography] implementations.
82-
abstract base class DelegatingCryptography implements Cryptography {
82+
abstract class DelegatingCryptography implements Cryptography {
8383
const DelegatingCryptography();
8484

8585
Cryptography get fallback;

cryptography/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: cryptography
2-
version: 2.6.0
2+
version: 2.6.1
33
homepage: https://github.com/dint-dev/cryptography
44
description:
55
Cryptographic algorithms for encryption, digital signatures, key agreement, authentication, and

0 commit comments

Comments
 (0)