kms 0.4.1 copy "kms: ^0.4.1" to clipboard
kms: ^0.4.1 copied to clipboard

unlisted

Key Management Service (KMS) API for managing cryptographic keys securely.

example/lib/example.dart

import 'package:kms/kms.dart';

Future<void> main() async {
  // Choose some KMS
  final kms = MemoryKms();

  // Create a digital signature key
  final key = await kms.collection('default').createKeyPair(
        keyExchangeType: null,
        signatureType: SignatureType.ed25519,
      );

  // Sign
  final signature = await key.sign([1, 2, 3]);

  print('Signature: ${signature.bytes}');
  print('Public key: ${signature.publicKey}');
}
10
likes
30
pub points
16%
popularity

Publisher

verified publisherdint.dev

Key Management Service (KMS) API for managing cryptographic keys securely.

Repository (GitHub)
View/report issues

License

Apache-2.0 (license)

Dependencies

collection, cryptography, meta

More

Packages that depend on kms