import java.security.*; class Program { public static void main(String[] argv) throws Exception { String uzenet = "Üzi"; byte[] uzenetByte = uzenet.getBytes("UTF-8"); MessageDigest md = MessageDigest.getInstance("MD5"); byte[] kivonatByte = md.digest(uzenetByte); System.out.println(kivonatByte.toString()); } }