Hi,
I need in my C++ programm a MD5 hash value. I'm write my codes with
Boost for Unix, OSX and Windows. Is there any class or function in the
STD for creating a MD5 hash or supports Boost MD5 hash?
Can you help me with a little code example?
My solution idea is to compile OpenSSL and link the library?
Thanks
Phil
|
|
0
|
|
|
|
Reply
|
Philipp
|
6/10/2010 6:15:17 PM |
|
On 6/10/2010 2:15 PM, Philipp Kraus wrote:
> I need in my C++ programm a MD5 hash value. I'm write my codes with
> Boost for Unix, OSX and Windows. Is there any class or function in the
> STD for creating a MD5 hash
No.
> or supports Boost MD5 hash?
You need to look for it on Boost's web site.
> Can you help me with a little code example?
Not really. Have you tried looking for it on Google? I would hazard a
guess that there are open-source solutions for that. Perhaps even on
'sourceforge.net'...
> My solution idea is to compile OpenSSL and link the library?
I don't know. Why are you asking?
V
--
I do not respond to top-posted replies, please don't ask
|
|
0
|
|
|
|
Reply
|
Victor
|
6/10/2010 6:41:38 PM
|
|
[Please do not mail me a copy of your followup]
Philipp Kraus <philipp.kraus@flashpixx.de> spake the secret code
<hura3l$lkr$1@online.de> thusly:
>I need in my C++ programm a MD5 hash value. I'm write my codes with
>Boost for Unix, OSX and Windows. Is there any class or function in the
>STD for creating a MD5 hash or supports Boost MD5 hash?
>Can you help me with a little code example?
>My solution idea is to compile OpenSSL and link the library?
Try Crypto++ <http://cryptopp.com/>
Disclaimer: I haven't used it myself.
--
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
<http://legalizeadulthood.wordpress.com/the-direct3d-graphics-pipeline/>
Legalize Adulthood! <http://legalizeadulthood.wordpress.com>
|
|
0
|
|
|
|
Reply
|
jeeves (198)
|
6/10/2010 6:45:52 PM
|
|
On 2010-06-10 20:45:52 +0200, Richard said:
> [Please do not mail me a copy of your followup]
>
> Philipp Kraus <philipp.kraus@flashpixx.de> spake the secret code
> <hura3l$lkr$1@online.de> thusly:
>
>> I need in my C++ programm a MD5 hash value. I'm write my codes with
>> Boost for Unix, OSX and Windows. Is there any class or function in the
>> STD for creating a MD5 hash or supports Boost MD5 hash?
>> Can you help me with a little code example?
>> My solution idea is to compile OpenSSL and link the library?
>
> Try Crypto++ <http://cryptopp.com/>
>
> Disclaimer: I haven't used it myself.
Thanks, that's a very nice lib, because it's a "wrapper class" for the
os functions
|
|
0
|
|
|
|
Reply
|
Philipp
|
6/10/2010 7:13:51 PM
|
|
On Thu, 2010-06-10, Philipp Kraus wrote:
> Hi,
>
> I need in my C++ programm a MD5 hash value. I'm write my codes with
> Boost for Unix, OSX and Windows. Is there any class or function in the
> STD for creating a MD5 hash or supports Boost MD5 hash?
What's the STD?
> Can you help me with a little code example?
> My solution idea is to compile OpenSSL and link the library?
That would work. It's also common for people to copy a public-domain
or liberally licensed version (in C) into their project, and use it.
There is a version by Colin Plumb which is commonly used; google it,
/Jorgen
--
// Jorgen Grahn <grahn@ Oo o. . .
\X/ snipabacken.se> O o .
|
|
0
|
|
|
|
Reply
|
Jorgen
|
6/11/2010 9:32:05 PM
|
|
[Please do not mail me a copy of your followup]
Jorgen Grahn <grahn+nntp@snipabacken.se> spake the secret code
<slrni15aql.1m5.grahn+nntp@frailea.sa.invalid> thusly:
>On Thu, 2010-06-10, Philipp Kraus wrote:
>> My solution idea is to compile OpenSSL and link the library?
>
>That would work. It's also common for people to copy a public-domain
>or liberally licensed version (in C) into their project, and use it.
>There is a version by Colin Plumb which is commonly used; google it,
According to its web page, the Crypto++ library contains mostly public
domain sources.
--
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
<http://legalizeadulthood.wordpress.com/the-direct3d-graphics-pipeline/>
Legalize Adulthood! <http://legalizeadulthood.wordpress.com>
|
|
0
|
|
|
|
Reply
|
jeeves (198)
|
6/12/2010 12:55:47 AM
|
|
Richard <legalize+jeeves@mail.xmission.com> wrote:
> According to its web page, the Crypto++ library contains mostly public
> domain sources.
http://www.linuxjournal.com/article/6225
|
|
0
|
|
|
|
Reply
|
Juha
|
6/12/2010 8:23:06 AM
|
|
|
6 Replies
741 Views
(page loaded in 0.076 seconds)
Similiar Articles: MD5 Hash - comp.lang.c++Hi, I need in my C++ programm a MD5 hash value. I'm write my codes with Boost for Unix, OSX and Windows. Is there any class or function in the ... Creating an MD5 hash - comp.unix.programmerHi, I want to generate an MD5 checksum with crypt.h, installed OS Debian Woody. Unfortunately I only get DES hashes with strncpy(salt, row[0], 12);... Mixed SHA, MD5 and Crypt Password Authentication - comp.sys.sun ...Password digest (hash) support supplied with Cams login modules, support for SHA, MD5 and Unix CRYPT hashes with and without ... password for authentication, the Cams ... Generating unique string identifier - comp.soft-sys.sas... generate unique string identifier using md5() function from macro %sysfunc like: %let __hash = %nrbquote(%sysfunc(md5(%sysfunc(rand(UNIFORM))))); It takes md5 hash ... SHA-512 encryption in sas - comp.soft-sys.sasMD5 Hash - comp.lang.c++ SHA-512 encryption in sas - comp.soft-sys.sas MD5 Hash - comp.lang.c++ SHA-512 encryption in sas - comp.soft-sys.sas I know one way to do is MD5 ... IPSec VPN - Cisco 837 to Fortigate 60 - comp.dcom.sys.cisco ...Creating an MD5 hash - comp.unix.programmer IPSec VPN - Cisco 837 to Fortigate 60 - comp.dcom.sys.cisco ... Relevant sections of my config are below: crypto isakmp policy ... validate-checksum Command - comp.dcom.sys.ciscoCreating an MD5 hash - comp.unix.programmer validate-checksum Command - comp.dcom.sys.cisco The MD5 File Validation feature allows you to generate the MD5 checksum ... Checksum with no creation date - comp.lang.java.helpCreating an MD5 hash - comp.unix.programmer Checksum with no creation date - comp.lang.java.help Creating an MD5 hash - comp.unix.programmer Checksum with no creation date ... How to set the seed as a 128 binary string of psudo random number ...I'm doing a research, which requires me to feed the hash (MD5 hash) of an image to a pseudo random number generator to create a watermark (1*1000 matrix). Change user password using shell script - comp.unix.solaris ...With a simple sed script you can insert a des or md5 hash in /etc/shadow, but you must take care for an simultanous running passwd or similar, solaris dont have a vipw ... MD5 - Wikipedia, the free encyclopediaThe MD5 Message-Digest Algorithm is a widely used cryptographic hash function that produces a 128- bit (16-byte) hash value. Specified in RFC 1321, MD5 has been ... md5 Hash GeneratorSunny Walker welcomes you to MiracleSalad.com. Home; Web Tools; Select stylesheet: Normal | Plain. Why is this site plain? You're using an old browser. Update it or ... 7/21/2012 8:42:56 PM
|