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 value specified in the secret parameter.
For the HS384 signing algorithm, the secret value must be at least
-
Armed, the method returns null and the error description The provided secret is too short. It must be at least 48 characters. is output to the error parameter.
-
Not armed, error 14576 is raised.
2020.0.01 and higher