new require("packet/symmetrically_encrypted")()
- Source:
- Source:
Members
-
packets :openpgp_packetlist
-
Decrypted packets contained within.
Type:
- openpgp_packetlist
- Source:
Methods
-
decrypt(sessionKeyAlgorithm, key)
-
Symmetrically decrypt the packet data
Parameters:
Name Type Description sessionKeyAlgorithm
Integer Symmetric key algorithm to use // See RFC4880 9.2 key
String Key as string with the corresponding length to the algorithm - Source:
Returns:
The decrypted data;