MCPcopy
hub / github.com/daptin/daptin / BcryptHashString

Function BcryptHashString

server/resource/bcrypt_utils.go:12–15  ·  view source on GitHub ↗
(password string)

Source from the content-addressed store, hash-verified

10}
11
12func BcryptHashString(password string) (string, error) {
13 bytes, err := bcrypt.GenerateFromPassword([]byte(password), 11)
14 return string(bytes), err
15}

Callers 7

registerClientMethod · 0.92
rotateClientSecretMethod · 0.92
FakeMethod · 0.85
CreateWithoutFilterMethod · 0.85
UpdateWithoutFiltersMethod · 0.85
testUserAccountResourceFunction · 0.85

Calls

no outgoing calls