---
name: "Gcrypt.finalHash"
section: "3kaya"
platform: "linux"
package: "kaya"
version: "0.4.4-6.2"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/Gcrypt.finalHash"
---

# Gcrypt.finalHash(3kaya)

Finalise the hash handle

## NAME

Gcrypt::finalHash - Finalise the hash handle

## SYNOPSIS

**Void finalHash(** *HashHandle h* **)**

## ARGUMENTS

**h** A hash handle

## DESCRIPTION

Finalise the hash handle. This is not usually necessary as calling **Gcrypt.getHash (3kaya)** implicitly finalises the handle. Once a handle is finalised, no further **Gcrypt.hashString (3kaya)** or **Gcrypt.hashBinary (3kaya)** operations have any effect until **Gcrypt.resetHash (3kaya)** is used.

## AUTHORS

Kaya standard library by Edwin Brady, Chris Morris and others (kaya@kayalang.org). For further information see http://kayalang.org/

## LICENSE

The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation.

## RELATED

**Gcrypt.HashHandle (3kaya)**

**Gcrypt.closeHash (3kaya)**

**Gcrypt.getHash (3kaya)**

**Gcrypt.hashBinary (3kaya)**

**Gcrypt.hashString (3kaya)**

**Gcrypt.openHash (3kaya)**

**Gcrypt.resetHash (3kaya)**
