apoc.util.sha1

Function

apoc.util.sha1(values LIST<ANY>) - 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.

Signature

apoc.util.sha1(values :: LIST<ANY>) :: STRING

Input parameters

Name Type Default

values

LIST<ANY>

null

Usage Examples

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

"f8c38b2167c0ab6d7c720e47c2139428d77d8b6a"