www.webdeveloper.com
Results 1 to 2 of 2

Thread: How to get unique Bytes from a String ?

  1. #1
    Join Date
    Jul 2009
    Location
    Lahore
    Posts
    2

    How to get unique Bytes from a String ?

    Hi,

    I want to get bytes from a string value( for Encryption/Decryption purposes ), i have used getBytes() method for that purpose, but every time i call getBytes() method, it returns a new bytes of array each time. I want a unique bytes of array for a particular string. How ?
    Also i want to store that information (string or byte) in a file, and i want to get back this information in form of bytes.

    Is there a way to get a unique bytes of array for a particular string, each time i use getBytes() or any other method ?

    Thanks...

  2. #2
    Join Date
    Jun 2009
    Posts
    98
    Check the Cryptography Architecture API specifically the MessageDigest Class.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

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



Recent Articles