protected static String separateAlgorithm(final String cipherTransform) {
    String[] array = cipherTransform.split("/");

    if (array.length > 1)
      return array[0];

    return null;
  }
protected static String separateAlgorithm(final String cipherTransform) {
    String[] array = cipherTransform.split("/");

    if (array.length > 1)
      return array[0];

    return null;
  }
protected static String separateAlgorithm ( final String cipherTransform ) { String [ ] array = cipherTransform . split ( "/" ) ; if ( array . length > 1 ) return array [ 0 ] ; return null ; }
Returns the secret key algorithm portion of the cipher transformation.
Returns the secret key algorithm portion of the cipher transformation .