List the common vulnerability classes and the defence for each.
Show worked solution
A strong answer covers injection (never mix untrusted input into code; use larzsql), weak/plaintext passwords (strong salted hashing), leaked secrets (keep out of code; encrypt/rotate), and broken auth (standard auth, verify every request) - and the overarching principle of using standard, verified tools rather than inventing security.
Explain why you hash (not encrypt) passwords, and why to use authenticated encryption for data.
Show worked solution
Good answers explain hashing is one-way so a breach doesn't reveal passwords (encryption is reversible and thus unsafe for passwords), using a strong salted hash like scrypt; and that authenticated encryption (AEAD) provides confidentiality plus tamper-detection, which is what you almost always want - both provided correctly by larzcrypt against RFC vectors.
Describe safe secret handling and how larzvault helps.
Show worked solution
Strong answers state the cardinal rule (never put secrets in code/git; load from env/config, gitignore), the danger of leaked keys (scraped and exploited within minutes; rotate immediately), and that larzvault encrypts secrets at rest under a master passphrase with authenticated, downgrade-proof encryption for safe storage.
Explain how 2FA (via larztotp/larzqr) and verifiable identity (via larzid) each add security.
Show worked solution
Good answers explain 2FA adds 'something you have' (a rotating TOTP code) so a stolen password alone can't take over an account - added with larztotp codes + a larzqr enrolment QR, secret stored securely; and that larzid provides self-certifying DIDs and offline-verifiable, tamper-proof credentials for decentralised identity and signed tokens.