MCPcopy Index your code
hub / github.com/parse-community/parse-server / newToken

Function newToken

src/cryptoUtils.js:41–43  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

39
40// Returns a new random hex string suitable for secure tokens.
41export function newToken(): string {
42 return randomHexString(32);
43}
44
45export function md5Hash(string: string): string {
46 return createHash('md5').update(string).digest('hex');

Callers

nothing calls this directly

Calls 1

randomHexStringFunction · 0.85

Tested by

no test coverage detected