Help for this page

Select Code to Download


  1. or download this
    String key = "just a bunch of text";
    byte[] bytes = new byte[256];
    ...
       catch (java.security.InvalidKeyException ike) {
         throw new Exception(Exception.E_SECURITY, "Invalid security key '
    +" + new String(md5digest) + "'", ike);
       }
    
  2. or download this
    String key = "just a bunch of text";
    byte[] bytes = new byte[256];
    ...
       }
    }
    byte[] md5digest = md5DigestAsBytes(bytes);