Share via


HashCore

Hashes a block of data based on a symmetric cryptography algorithm.

HRESULT
___stdcall HashCore(
                       __in PINFORMATIONCARD_CRYPTO_HANDLE  hCrypto,
                       __in DWORD                    cbInData,
                       __in_bcount( cbInData ) PBYTE   pInData );

Parameters

Parameter Description

hCrypto

Handle to the cryptography object returned from a call to GetKeyedHash.

cbInData

The length, in bytes, of the input buffer.

pInData

The data to be hashed.

Property Value/Return Value

HRESULT. If any of the parameters are NULL or 0, returns E_INVALIDARG.

Requirements

Windows Vista

Header: Declared in infocard.h.

Library: Use infocardapi.lib.

See Also

Reference

HashFinal

Concepts

HRESULTS Returned

Copyright © 2007 by Microsoft Corporation. All rights reserved.