Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
6712 Discussions

sample code for hashing a file via IPP/cryptoplugin

_norbert_
Beginner
311 Views
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
Moderator
311 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

0 Kudos
Reply