S
skibud2
I would like to use MD5 in my C program under linux. Can someone tell
me if there is a library that I can include?
Thanks,
Mike
me if there is a library that I can include?
Thanks,
Mike
I would like to use MD5 in my C program under linux. Can someone tell
me if there is a library that I can include?
skibud2 said:I would like to use MD5 in my C program under linux. Can someone tell
me if there is a library that I can include?
Thanks,
Mike
Kenny McCormack posted:
<snip drivel>
I have contacted Kenny's news provider to report abuse -- I would appreciate
if others would do so also.
See : http://www.thescripts.com/forum/thread212602.html
More appropriate to a Linux programming group though.
Frederick said:Kenny McCormack posted:
<snip drivel>
I have contacted Kenny's news provider to report abuse -- I would
appreciate if others would do so also.
Old Wolf said:http://www.google.com/search?q=md5+C+source
Was that difficult? It's even in an RFC:
http://www.ietf.org/rfc/rfc1321.txt
That link you posted is ; MD5 itself does not have any ties
to any particular platform of course.
Richard said:He asked for Linux implementation.
CBFalconer said:Most of us can't do it. His posts never appear to us due to
PLONKing. They just trigger silly replies, which do come through,
and clutter the newsgroups.
Keith said:Actually, he wrote "I would like to use MD5 in my C program under
linux." MD5 is a mathematical algorithm, not related to any
particular platform. I suppose you could write an MD5 implementation
that works only under Linux, but it probably would would be less than
ideal even under Linux, and could be improved considerably by dropping
the Linux-specific parts.
MD5 requires 32 bit rotation. So if an implementation relied on the
fact that gcc on Linux makes unsigned long exactly 32 bits, how could
it be "improved" by "dropping" this specific part? (To simulate a 32
bit rotation on a system that doesn't implement 32 bit longs, you would
have to perform an additional masking step.)
(and rgrdev responded thusly)
I'm a tad surprised at one or two of the comebacks on this thread. The
guy asks for an MD5 implementation on Linux, I point him to one and then
*bang* out come lectures in how the MD5 algorithm isn't Linux specific -
even though no one suggested it was.
...
(someone else uttered)
Sad, isn't it?
Welcome to clc!
MD5 requires 32 bit rotation. So if an implementation relied on the
fact that gcc on Linux makes unsigned long exactly 32 bits, how could
it be "improved" by "dropping" this specific part?
.... snip ...
MD5 requires 32 bit rotation. So if an implementation relied on
the fact that gcc on Linux makes unsigned long exactly 32 bits,
how could it be "improved" by "dropping" this specific part? (To
simulate a 32 bit rotation on a system that doesn't implement 32
bit longs, you would have to perform an additional masking step.)
MD5 requires 32 bit rotation. So if an implementation relied on the
fact that gcc on Linux makes unsigned long exactly 32 bits, how could
it be "improved" by "dropping" this specific part? (To simulate a 32
bit rotation on a system that doesn't implement 32 bit longs, you would
have to perform an additional masking step.)
Richard said:(e-mail address removed) (Kenny McCormack) writes: [nothing worthwhile]
It's all part & parcel of this group I guess. Although there does appear
to more jobsworths here now than a year ago : its almost a race to see
who can get the "Off Topic" rejoinder in first - and even then they
pretend not to see its already been done so that some poor newbie ends
up getting 6 or 7 chastising replies. All very sad IMO. If you cant help
or don't want to then don't post. Simple.
Richard said:(e-mail address removed) (Kenny McCormack) writes: [nothing worthwhile]
It's all part & parcel of this group I guess. Although there does appear
to more jobsworths here now than a year ago : its almost a race to see
who can get the "Off Topic" rejoinder in first - and even then they
pretend not to see its already been done so that some poor newbie ends
up getting 6 or 7 chastising replies. All very sad IMO. If you cant help
or don't want to then don't post. Simple.
Richard, *please* don't feed the troll. Argue about "off-topic"
rejoinders if you like, but please don't add to the noise level by
replying to Kenny McCormack. I think most readers here have killfiled
him long ago, for excellent reasons. He is not on your side.
[snip]Keith Thompson said:printf("uname is says: ");
fflush(stdout);
system("uname -s");
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.