query
On this page

hashString

lib.hashString

Primop
Docs pulled from | This Revision | 23 minutes ago

Takes 2 arguments

type, s


Return a base-16 representation of the cryptographic hash of string s. The hash algorithm specified by type must be one of "md5", "sha1", "sha256" or "sha512".


Noogle detected

Aliases

Detected Type
hashString :: String -> String -> String

Implementation

This function is implemented in c++ and is part of the native nix runtime.