public byte[] encryptRaw(byte[] baseKey,int usage,byte[] ivec,byte[] plaintext,int start,int len) throws GeneralSecurityException, KrbCryptoException {
  if (!KeyUsage.isValid(usage)) {
    throw new GeneralSecurityException("Invalid key usage number: " + usage);
  }
  byte[] output=encryptCTS(baseKey,usage,ivec,null,plaintext,start,len,false);
  return output;
}

public byte [ ] encryptRaw ( byte [ ] baseKey , int usage , byte [ ] ivec , byte [ ] plaintext , int start , int len ) throws GeneralSecurityException , KrbCryptoException { if ( ! KeyUsage . isValid ( usage ) ) { throw new GeneralSecurityException ( "Invalid key usage number: " + usage ) ; } byte [ ] output = encryptCTS ( baseKey , usage , ivec , null , plaintext , start , len , false ) ; return output ; }
performs encryption using derived key ; does not add confounder .
