Platform SDK: Cryptography

Hashing and Digital Signature Functions

Hashing and digital signature functions compute hashes and create and verify digital signatures. The following table briefly describes each function.

Function Description
CPCreateHash Creates a hash object and returns a handle to it.
CPDestroyHash Destroys a hash object.
CPDuplicateHash Makes an exact copy of a hash object and the state the hash is in.
CPGetHashParam Retrieves a hash object parameter.
CPHashData Hashes a block of data, adding it to the specified hash object.
CPHashSessionKey Hashes a session key, adding it to the specified hash object.
CPSetHashParam Sets a hash object parameter.
CPSignHash Signs the specified hash object.
CPVerifySignature Verifies a digital signature.