io/deserialize
library
Functions
deserializeCombinedCipher (String path )
→ ASECombinedCipher
Deserializes the combined ciphertext from a JSON file
The file should contain a JSON object with the keys 'kemCt', 'nonce', 'ciphertext', and 'salt'.
deserializeCombinedCipherFromJson (Map <String , dynamic > m )
→ ASECombinedCipher
Deserializes the combined ciphertext from a parsed JSON object
The object should contain the keys 'kemCt', 'nonce', 'ciphertext', and 'salt'.
deserializeCombinedCipherFromString (String jsonString )
→ ASECombinedCipher
Deserializes the combined ciphertext from a JSON string
The string should contain a JSON object with the keys 'kemCt', 'nonce', 'ciphertext', and 'salt'.
deserializePrivateKey (String path )
→ ASEPrivateKey
Deserializes the private key from a JSON file
The file should contain a JSON object with the key 's'.
deserializePrivateKeyFromJson (Map <String , dynamic > m )
→ ASEPrivateKey
Deserializes the private key from a parsed JSON object
The object should contain the key 's'.
deserializePrivateKeyFromString (String jsonString )
→ ASEPrivateKey
Deserializes the private key from a JSON string
The string should contain a JSON object with the key 's'.
deserializePublicKey (String path )
→ ASEPublicKey
Deserializes the public key from a JSON file
The file should contain a JSON object with the keys 'A' and 'b'.
deserializePublicKeyFromJson (Map <String , dynamic > m )
→ ASEPublicKey
Deserializes the public key from a parsed JSON object
The object should contain the keys 'A' and 'b'.
deserializePublicKeyFromString (String jsonString )
→ ASEPublicKey
Deserializes the public key from a JSON string
The string should contain a JSON object with the keys 'A' and 'b'.