@Override
    public String hash(final String deviceSecret) {
        return DigestUtils.sha512(deviceSecret);
    }
This is {@link DefaultOidcDeviceSecretGenerator}.

@author Misagh Moayyed
@since 7.3.0
support/cas-server-support-oidc-core-api/src/main/java/org/apereo/cas/oidc/nativesso/DefaultOidcDeviceSecretGenerator.java