protected void engineSetPadding(String paddingScheme) throws NoSuchPaddingException {
  if ((paddingScheme != null) && (!paddingScheme.equalsIgnoreCase("PKCS5Padding"))) {
    throw new NoSuchPaddingException("Invalid padding scheme: " + paddingScheme);
  }
}

protected void engineSetPadding ( String paddingScheme ) throws NoSuchPaddingException { if ( ( paddingScheme != null ) && ( ! paddingScheme . equalsIgnoreCase ( "PKCS5Padding" ) ) ) { throw new NoSuchPaddingException ( "Invalid padding scheme: " + paddingScheme ) ; } }
sets the padding mechanism of this cipher . this algorithm only uses pkcs # 5 padding .
