private void checkTransformation(String transformation) throws IOException {
    if ("AES/CTR/NoPadding".equalsIgnoreCase(transformation)) {
      return;
    }
    throw new IOException("AES cipher transformation is not supported: " + transformation);
  }
Decrypts input data. The input composes of (msg, padding if needed, mac) and sequence num. The
result is msg.
@param data   the input byte array
@param offset the offset in input where the input starts
@param len    the input length
@return the new decrypted byte array.
@throws SaslException if error happens
hbase-common/src/main/java/org/apache/hadoop/hbase/io/crypto/aes/CryptoAES.java