RE: short note about it |
||
![]() Tr flamebalrog On 2005-03-15 18:27:03, anvar wrote > >it isn't 100% working yet, for some reason the output is 16 char rather then 32, I'll be looking into it more, if any-one has suggestions, feel free to post :) The digest() method returns an array of bytes. The String(byte[]) constructor makes a string by decoding the bytes array (using the platform's default charset...so this will not give the same results everywhere). I guess what you want isn't to decode the array, but rather convert it to an hex. representation of its bytes... Does it help ? - Is it a feature or a bug ? - Replies:
|
||
| CyberArmy::Forum v0.6 Generated In 0.02312 seconds |