Community
cancel
Showing results for 
Search instead for 
Did you mean: 
_norbert_
Beginner
36 Views

sample code for hashing a file via IPP/cryptoplugin

hi,
since im completely new to intel dev tools id need some handholding from experienced developers.
is there a primitive code snippet that shows how to hash a file (md5,sha....whatever) - create a fingerprint so to speak via intel ipp and the cryptoplugin ??? any help appreciated! need to get started...

br,
norbert
0 Kudos
1 Reply
Chao_Y_Intel
Employee
36 Views


Hi Norbert,

You can follow the step in this page to download the Intel IPP cryptography package:

http://software.intel.com/en-us/articles/download-ipp-cryptography-libraries/

MD5/SHA1 functions are included in the cryptography package. You check the manual \doc\ippcpman.pdf to learn these functions:

Chapter 3: One-Way Hash Primitives

and some examples:

Example 3-1 MD5 Digest of a Message
Example 3-2 SHA1 Digest of a Message


Thanks,
Chao