private static String getBaseAlgorithm(String transformation) {
        if (transformation.contains("/")) {
            return transformation.substring(0, transformation.indexOf('/'));
        }
        return transformation;
    }
Returns the underlying cipher name given a cipher transformation.  For example,
passing {@code AES/CBC/NoPadding} returns {@code AES}.
common/src/test/java/org/conscrypt/javax/crypto/CipherBasicsTest.java