apoc.util.sha1

Details

Syntax

apoc.util.sha1(values)

Description

Returns the SHA1 of the concatenation of all STRING values in the given LIST<ANY>. SHA1 is a weak hashing algorithm which is unsuitable for cryptographic use-cases.

Arguments

Name

Type

Description

values

LIST<ANY>

The list of values to concatenate and generate a sha1 checksum from.

Returns

STRING

Usage Examples

RETURN apoc.util.sha1(["Michael"]) AS output;
Results
output

"f8c38b2167c0ab6d7c720e47c2139428d77d8b6a"