EncryptionResult class Null safety
Container for encrypted data which may contain key deriviation artefacts. Can be converted to Cryppo's serialization format by using the serialize method.
Constructors
-
EncryptionResult({required EncryptionStrategy strategy, required List<
int> cipherText, required EncryptionArtefacts encryptionArtefacts, DerivationArtefacts? derivationArtefacts}) - Container for encrypted data which may contain key deriviation artefacts. Can be converted to Cryppo's serialization format by using the serialize method.
- EncryptionResult.fromSerialized(String serializedPayload)
- Decode a serialized encrypted string into its components.
Properties
-
cipherText
↔ List<
int> -
read / write
- derivationArtefacts ↔ DerivationArtefacts?
-
read / write
- encryptionArtefacts ↔ EncryptionArtefacts
-
read / write
- 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
- strategy ↔ EncryptionStrategy
-
read / write
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
serialize(
) → String - Converts the encryption result into Cryppo's serialization format for transfer over the wire.
-
toString(
) → String -
Serialize the encryption result
override
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited