public static CipherExecutor from(final EncryptionRandomizedSigningJwtCryptographyProperties crypto) {
        return new WebflowConversationStateCipherExecutor(
            crypto.getEncryption().getKey(),
            crypto.getSigning().getKey(),
            crypto.getAlg(),
            crypto.getSigning().getKeySize(),
            crypto.getEncryption().getKeySize()
        );
    }
From properties to cipher executor.

@param crypto the crypto
@return the cipher executor
core/cas-server-core-util-api/src/main/java/org/apereo/cas/util/cipher/WebflowConversationStateCipherExecutor.java