Click here to get back home

Module Digest:SHA

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Module Digest:SHA Guenther Sohler 06-12-2006
Get Chitika Premium
Posted by Guenther Sohler on June 12, 2006, 8:00 am
Please log in for more thread options


Hallo,

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 ?

rds


Posted by Sisyphus on June 12, 2006, 8:03 pm
Please log in for more thread options



> Hallo,
>
> 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 ?
>

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 ?

Cheers,
Rob




Posted by Guenther Sohler on June 13, 2006, 1:22 am
Please log in for more thread options


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 guenther.sohler@gmx.at, I can reply you with the java
code attached. Then you could also judge, if the used algorithm
perfctly fits SHA. rds




Similar ThreadsPosted
Q: Digest::SHA1 module cannot be loaded February 8, 2005, 5:50 pm
[ANN] Digest::SHA 5.28 (w/ shasum) November 18, 2004, 12:50 pm
LWP and Digest authentication February 8, 2007, 1:50 pm
ANNOUNCE: Digest::SHA 5.28 (w/ shasum) November 18, 2004, 7:42 pm
Difference in digest and md5_hex December 9, 2004, 5:32 pm
In search of "Digest::Nilsimsa" author March 29, 2005, 3:31 pm
Digest::SHA1 b64digest weirdness May 10, 2005, 1:33 pm
On CygwinPerl, Digest::SHA fails all tests (yet passed on CPAN-testers) May 4, 2006, 7:55 am
Lower case module name for non-pragma module January 4, 2005, 10:19 am
RFC: New module 'Module::Bundled::Files' August 26, 2005, 3:49 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap