public Text evaluate(final org.apache.hadoop.io.Text... args) {
        if (args.length < 1) {
            return new Text(NOT_ENOUGH_ARGS_ERROR);
        }
        Text md5;
        try {
            MessageDigest messageDigest = MessageDigest.getInstance(HASH_ALGORITHM);
            messageDigest.reset();

            for (Text txt : args) {
                messageDigest.update(txt.getBytes());
            }
            md5 = bytesToText(messageDigest.digest());
        }
        catch (NoSuchAlgorithmException nsae) {
            return new Text(INVALID_ALGORITHM_ERROR);
        }
        catch (Exception e) {
            return new Text(String.format("Could not create hash: %s", e.getMessage()));
        }
        return md5;
    }