Skip to content

Conversation

@ranjitha1414
Copy link

  1. Added PBKDF2 Password Hashing
  • Implemented secure password hashing using PBKDF2WithHmacSHA256
  • Added salt generation and secure hash verification
  • Updated Person, Library, and login logic to use hashing instead of plain-text storage
  • Modified the database schema to support longer hashed password fields
  • Fixed an issue where passwords were being reset on application restart
  1. Added Input Validation & Sanitization
  • Created InputValidator class to enforce:
  • character length limits required fields
  • safe characters proper sanitization before database insertion
  • Updated Library.java and Main.java to validate all user input before saving
  • Prevented database crashes caused by oversized or invalid values

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant