I have created my own user table, but how do I encrypt the password field, I have seen that bcrypt is used, but I don't know how to implement it.
hi @Step you can export the encrypt and decrypt functions directly from payload, check out Dan's answer here which has an example of usage:
https://github.com/payloadcms/payload/discussions/1435#discussioncomment-4173265thank you @jesschow
Star
Discord
online
Get help straight from the Payload team with an Enterprise License.