private static String buildRegisteredServiceCacheKey(final RegisteredService registeredService) {
        val key = registeredService.getId() + "@" + registeredService.getName();
        val cacheKey = DigestUtils.sha512(key);
        LOGGER.trace("Built registered service cache key [{}] for [{}]:", cacheKey, key);
        return cacheKey;
    }
This is {@link DefaultPrincipalAttributesRepositoryCache}.

@author Misagh Moayyed
@since 6.1.0
core/cas-server-core-authentication-attributes/src/main/java/org/apereo/cas/authentication/principal/cache/DefaultPrincipalAttributesRepositoryCache.java