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

unlistedoutdated

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

example/lib/example.dart

import 'package:kms/kms.dart';

Future<void> main() async {
  final kms = MemoryKms();
  final kmsKey = await kms.createKeyPair(
    keyRingId: 'example',
    keyExchangeType: null,
    signatureType: SignatureType.ed25519,
  );
  final signature = await kms.sign(
    [1, 2, 3],
    kmsKey: kmsKey,
    signatureType: SignatureType.ed25519,
  );
  print('Signature: ${signature.bytes}');
  print('Public key: ${signature.publicKey}');
}
10
likes
0
pub points
16%
popularity

Publisher

verified publisherdint.dev

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

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

cryptography, meta

More

Packages that depend on kms