Results 1 to 4 of 4
  1. #1
    algo_avaj is offline Member
    Join Date
    Jul 2013
    Posts
    9
    Rep Power
    0

    Default convert String to 16-byte binary values

    Hi everyone,

    does anyone of you know to convert a string to a 16 byte binary values instead of 32 hex?


    Thanks.

  2. #2
    algo_avaj is offline Member
    Join Date
    Jul 2013
    Posts
    9
    Rep Power
    0

    Default MD5 with the 16-byte binary conversion

    Hi everyone,

    Can you help me how to encrypt a string to 16byte binary? I always got the 32 character hex conversion online. Hope you can help me regarding this.


    Thanks.

  3. #3
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,188
    Rep Power
    19

    Default Re: convert String to 16-byte binary values

    Since the two threads you started appear to be two parts of the same question, I've merged them.

    Please go through the Forum Rules, with special reference to the second paragraph.

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  4. #4
    jim829 is offline Senior Member
    Join Date
    Jan 2013
    Location
    Northern Virginia, United States
    Posts
    3,501
    Rep Power
    5

    Default Re: MD5 with the 16-byte binary conversion

    MD5 is not an encryption algorithm. It is a cryptographic checksum. Think -- checksum on steroids. It is used to verify data integrity. So what do you really want to do? If you really just want to generate an MD5 checksum on some data, then check out MessageDigest (Java Platform SE 7 )

    Regards,
    Jim
    Last edited by jim829; 08-01-2013 at 03:05 AM.
    The Java™ Tutorial | SSCCE | Java Naming Conventions
    Poor planning our your part does not constitute an emergency on my part.

Similar Threads

  1. Replies: 1
    Last Post: 11-01-2011, 05:35 PM
  2. Best way convert string to binary and back
    By torsion in forum Advanced Java
    Replies: 1
    Last Post: 03-24-2011, 07:03 AM
  3. Convert String to Binary equivalent
    By vinayak.top in forum Advanced Java
    Replies: 1
    Last Post: 01-21-2011, 08:07 AM
  4. Convert String to Binary
    By erakhman in forum New To Java
    Replies: 1
    Last Post: 09-01-2010, 08:25 AM
  5. convert byte array to string.
    By newbiejava in forum New To Java
    Replies: 9
    Last Post: 07-30-2010, 08:00 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •