encodeHS384

encodeHS384(secret: String;
            error:  String output): String;

The encodeHS384 method of the JadeJsonWebToken class generates a string representation of the JSON Web Token, signed using the HS384 algorithm with the secret specified in the secret parameter.

For the HS384 signing algorithm, the secret must be at least 16 characters long. If the specified secret parameter is shorter than 16 characters, the method returns null and the error parameter is set to Error_SecretTooShort. (See also "JadeJsonWebToken Class Constants", elsewhere in this document.)

2020.0.01 and higher