>not following you. if you assign a result from that method:
>
>strData=jObj.getBytes("UTF-8");
>
>strData will be a binary (i want to say array of bytes but not without
>checking first). is that what you meant?
>

Right, it's a byte array.  Essentially, I have a string.  Say it's "foo".  I need to get the utf8 byte representation of "foo", then get the hash value of the byte representation, then get the byte representation of the hash value.  Once I get the byte representation of the hash, I need to hex encode it for comparison purposes.  I guess I'm struggling with converting the byte representation of "foo" to the hash, so I'm trying to get the byte representation to print to the screen for troubleshooting purposes.  This doesn't seem possible at all to me.
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to