apoc.util.sha1

Function

apoc.util.sha1(values [Any]) - returns the SHA1 of the concatenation of all string values in the given list. SHA1 is a weak hashing algorithm which is unsuitable for cryptographic use-cases.

Signature

apoc.util.sha1(values :: LIST? OF ANY?) :: (STRING?)

Input parameters

Name Type Default

values

LIST? OF ANY?

null

Usage Examples

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

"f8c38b2167c0ab6d7c720e47c2139428d77d8b6a"