LazySecretBox class

An implementation of LazySecret that uses method channels.

Inheritance

Constructors

LazySecretBox()

Properties

boxBeforeNmMethod String
final
createKeyPairMethod String
final
hashCode int
The hash code for this object.
no setterinherited
methodChannel MethodChannel
The method channel used to interact with the native platform.
final
randomBytesBufMethod String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secretBoxEasyMethod String
final
secretBoxKeyBytesMethod String
final
secretBoxMacBytesMethod String
final
secretBoxNonceBytesMethod String
final
secretBoxOpenEasyMethod String
final
toBinMethod String
final
toHexMethod String
final

Methods

cryptoBoxBeforeNm(KeyPair keyPair) Future<String>
override
cryptoKxKeyPair() Future<KeyPair>
override
cryptoSecretBoxEasy(String plaintext, String nonce, String key) Future<String>
override
cryptoSecretBoxKeyBytes() Future<int>
override
cryptoSecretBoxMacBytes() Future<int>
override
cryptoSecretBoxNonceBytes() Future<int>
override
cryptoSecretBoxOpenEasy(String ciphertext, String nonce, String key) Future<String>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
randomBytesBuf(int size) Future<Uint8List>
override
toBin(String hexString) Future<Uint8List>
override
toHex(Uint8List bytes) Future<String>
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited