at_chops 1.0.3 copy "at_chops: ^1.0.3" to clipboard
at_chops: ^1.0.3 copied to clipboard

Package for at_protocol cryptographic and hashing operations

Package for Cryptographic and Hashing Operations (CHOPS) such as encryption, decryption, data signing and hashing that can be leveraged by client applications using the at protocol.

Features #

  • Asymmetric public/private key encryption/decryption using RSA
  • Symmetric key encryption/decryption using AES
  • Digest signing and verification for PKAM authentication
  • Data signing and verification for public data in the at protocol
  • Hashing operations

Getting started #

  • Developer should have a basic understanding on how asymmetric and symmetric encryption works.
  • Developers can use their own key pairs/keys to use this package or create new key pairs/keys using [AtChopsUtil]

Usage #

final atChopsKeys = AtChopsKeys.create(atEncryptionKeyPair, null);
final atChops = AtChopsImpl(atChopsKeys);
final data = 'Hello World';
final encryptedString = atChops.encryptString(data, EncryptionKeyType.rsa_2048);
final decryptedString = atChops.decryptString(encryptedString, EncryptionKeyType.rsa_2048);
0
likes
0
pub points
80%
popularity

Publisher

verified publisheratsign.org

Package for at_protocol cryptographic and hashing operations

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

at_commons, at_utils, crypto, crypton, ecdsa, elliptic, encrypt, pointycastle

More

Packages that depend on at_chops