---
name: "CryptHashSessionKey"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/CryptHashSessionKey"
---

# CryptHashSessionKey(3w)

## NAME

**CryptHashSessionKey** (ADVAPI32.@)

## SYNOPSIS

BOOL CryptHashSessionKey\
  (\
   HCRYPTHASH *hHash*,\
   HCRYPTKEY  *hKey*,\
   DWORD      *dwFlags*\
  )

## DESCRIPTION

Compute the cryptographic hash of a session key object.

## PARAMS

*hHash* **\[In\]**  Handle to the hash object.

*hKey* **\[In\]**  Handle to the key to be hashed.

*dwFlags* **\[In\]**  Can be **CRYPT\_LITTLE\_ENDIAN**.

## RETURNS

**Success:** **TRUE**

**Failure:** **FALSE**

## IMPLEMENTATION

Declared in **"wincrypt.h"**.

Implemented in **"dlls/advapi32/crypt.c"**.

Debug channel **"crypt"**.
