extends Hasher

A NOOP “hasher” which just returns the data as the digest. Useful as a placeholder or for testing purposes. This offers no security. A real hash function such as BcryptHasher should be used in production.


  • data (string) – the data to “hash”
Returns the digest (which is just the input data)
Return type string
Description Returns the input data unchanged