MCPcopy Create free account
hub / github.com/Effect-TS/effect / md5Password

Function md5Password

packages/sql/pg/src/PgAuth.ts:114–118  ·  view source on GitHub ↗
(options: {
  readonly user: string
  readonly password: string
  readonly salt: Uint8Array
})

Source from the content-addressed store, hash-verified

112 * @since 4.0.0
113 */
114export const md5Password = (options: {
115 readonly user: string
116 readonly password: string
117 readonly salt: Uint8Array
118}): Result.Result<string, AuthError> => result(() => md5PasswordUnsafe(options))
119
120/**
121 * The only SASL mechanism this module implements.

Callers

nothing calls this directly

Calls 2

md5PasswordUnsafeFunction · 0.85
resultFunction · 0.70

Tested by

no test coverage detected