cryptography_ohos 1.0.0 copy "cryptography_ohos: ^1.0.0" to clipboard
cryptography_ohos: ^1.0.0 copied to clipboard

Makes 'package:cryptography' use platform APIs in Ohos.

cryptography_ohos #

Makes 'package:cryptography' use platform APIs in Ohos.

Getting Started #

In pubspec.yaml:

dependencies:
  cryptography: ^2.5.0
  cryptography_ohos: ^1.0.0

Behavior by algorithm #

AES-GCM #

FlutterAesGcm is used in Ohos.

NIST ECDH / ECDSA #

FlutterEcdh and [FlutterEcdsa] are available for Ohos.

HMAC #

FlutterHmac is available for Ohos.

PBKDF2 #

FlutterPbkdf2 is available for Ohos.

Platform Implementation #

Please note that this table represents the functions implemented in this repository.

Function Android Ohos
encrypt(AES+GCM)
decrypt(AES+GCM)
AES+CBC加解密
AES+CTR加解密
HMAC 哈希算法
PBKDF2密钥派生
ECDSA签名验签
ECDH密钥协商
Chacha20.poly1305Aead
Xchacha20.poly1305Aead
X25519密钥协商
ED25519签名验签
0
likes
140
points
11
downloads

Publisher

unverified uploader

Weekly Downloads

Makes 'package:cryptography' use platform APIs in Ohos.

Repository

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

cryptography, flutter, plugin_platform_interface

More

Packages that depend on cryptography_ohos

Packages that implement cryptography_ohos