Module Digest:SHA

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View


I was very happy beeing able to get Digest:SHA working in perl.
Its in a quite good condition and eg sha256_hex works perfectly.
Now I have the problem, that for my special application
I need something like sha64_hex(at least I think so), but Its not
implemented yet. I have this  script available in java, but i need it in
perl. Is it possible to derive it from sha256_hex somehow ?


Re: Module Digest:SHA

Quoted text here. Click to load it

I don't know of any "sha64". My expectation is that "sha64_hex" would output
16 hex digits. Is that what you're after ?

I assumed, initially, that you meant "sha256_hex" (since that outputs 64 hex
digits), but I see that you're already aware of that function - so
presumably it's not what you want.

What length is the hex string produced by the java program ?


Re: Module Digest:SHA

Dear Sisiphus,

thank you for your reply!
I think, my java code creates 16 digits of code. At least it looks like.
If you mail me at, I can reply you with the java
code attached. Then you could also judge, if the used algorithm
perfctly fits SHA. rds

Site Timeline