Asymmetric class

Constructors

Asymmetric()

Properties

hashCode int
The hash code for this object.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

decryptBytes(String encryptedBase64, String hexPrivateKey) Uint8List
Decrypts the given base64 string using hexPublicKey and returns the original buffer
decryptBytesAsync(String encryptedBase64, String hexPrivateKey) Future<Uint8List>
Decrypts the given base64 string using hexPublicKey and returns the original buffer
decryptRaw(Uint8List encryptedBuffer, String hexPrivateKey) Uint8List
Decrypts the given buffer using hexPublicKey and returns the resulting buffer
decryptRawAsync(Uint8List encryptedBuffer, String hexPrivateKey) Future<Uint8List>
Decrypts the given buffer using hexPublicKey and returns the resulting buffer
decryptString(String encryptedBase64, String hexPrivateKey) String
Decrypts the given base64 string using hexPublicKey and returns the original string
decryptStringAsync(String encryptedBase64, String hexPrivateKey) Future<String>
Decrypts the given base64 string using hexPublicKey and returns the original string
encryptBytes(Uint8List payload, String hexPublicKey) String
Encrypts the given buffer using hexPublicKey and returns a base64 string with the result
encryptBytesAsync(Uint8List payload, String hexPublicKey) Future<String>
Encrypts the given buffer using hexPublicKey and returns a base64 string with the result
encryptRaw(Uint8List payload, String hexPublicKey) Uint8List
Encrypts the given buffer using hexPublicKey and returns the resulting buffer
encryptRawAsync(Uint8List payload, String hexPublicKey) Future<Uint8List>
Encrypts the given buffer using hexPublicKey and returns the resulting buffer
encryptString(String message, String hexPublicKey) String
Encrypts the given string using hexPublicKey and returns a base64 string with the result
encryptStringAsync(String message, String hexPublicKey) Future<String>
Encrypts the given string using hexPublicKey and returns a base64 string with the result