FastAPI - Authentication and Security
Given the following code snippet, what will be the output of
print(pwd_context.verify('secret123', hashed_password)) if hashed_password is generated by hashing 'secret123'?
from passlib.context import CryptContext
pwd_context = CryptContext(schemes=["bcrypt"], deprecated="auto")
hashed_password = pwd_context.hash('secret123')
print(pwd_context.verify('secret123', hashed_password))