--- title: "bcrypt check password()" slug: "basic-b-crypt-check-password" updated: 2025-11-13T09:19:26Z published: 2025-11-14T02:46:19Z canonical: "docs.lobstersoftware.com/basic-b-crypt-check-password" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # bcrypt check password() Die Funktion prüft ein Passwort gegen einen gegebenen Bcrpyt-Hash-Wert. Bei erfolgreicher Prüfung gibt die Funktion den Wert *true* zurück, ansonsten *false*. ## Parameter | Parameter | Beschreibung | | --- | --- | | a | Das zu überprüfende Passwort. | | b | Das gehashte Passwort gegen das geprüft wird. **Hinweis:** Siehe Funktion [bcrypt hash password()](/v1/docs/basic-b-crypt-hash-password)*.* | ## Beispiele | Parameter a | Parameter b | Ergebnis | | --- | --- | --- | | mypassword | $2a$10$oZE/GfU/Qm0LfCuTor81peGE.MSsJZdR7Ni4YZv3VLb3l4h3UeWsa | true |