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'.
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'.