public void setSecret(final String secret) {
        this.secret = secret.getBytes(UTF_8);
    }
<p>Setter for the field <code>secret</code>.</p>

@param secret a {@link String} object
pac4j-jwt/src/main/java/org/pac4j/jwt/config/signature/SecretSignatureConfiguration.java