encryption library

Properties

aesKey ↔ Key
getter/setter pair
robotPubKey ↔ RSAPublicKey
getter/setter pair
robotPubKeyPem String?
getter/setter pair

Functions

decryptPayload(Uint8List data) Uint8List
encryptPayload(Uint8List data) Uint8List
generateAESKey() → void
parsePublicKey(Uint8List pub) → RSAPublicKey
rsaDecrypt(RSAPrivateKey myPrivate, Uint8List cipherText) Uint8List
rsaEncrypt(RSAPublicKey myPublic, Uint8List dataToEncrypt) Uint8List