public static CipherTextIvMac encrypt(String plaintext,SecretKeys secretKeys,String encoding) throws UnsupportedEncodingException, GeneralSecurityException {
  return encrypt(plaintext.getBytes(encoding),secretKeys);
}

public static CipherTextIvMac encrypt ( String plaintext , SecretKeys secretKeys , String encoding ) throws UnsupportedEncodingException , GeneralSecurityException { return encrypt ( plaintext . getBytes ( encoding ) , secretKeys ) ; }
generates a random iv and encrypts this plain text with the given key . then attaches a hashed mac , which is contained in the ciphertextivmac class .
