crypto/jwe
library
Functions
-
decryptJWE(String jweCompact, Map<String, dynamic> key)
→ Future<String>
-
Decrypts the provided
jweCompact using the specified key.
Returns the decrypted payload as a string.
-
encryptJWE(String data, Map<String, dynamic> key, {Map<String, dynamic>? epk})
→ String
-
Encrypts the provided
data using the specified key and optional epk.
Returns the compact serialization of the encrypted JWE.
-
Extracts and returns the header of the provided
jweCompact as a map.