OJS Password Generator
Generate OJS (Open Journal Systems) compatible password hashes
Generate Password Hash
Enter the plain text password you want to hash
How to Use
- Enter your desired password in the input field
- Click "Generate OJS Hash" to create the hash and salt
- Copy both the hash and salt values
- Update the OJS database with these values
Database Update Query
For OJS 2.x and 3.x, update the users table:
UPDATE users
SET password = 'YOUR_HASH_HERE',
salt = 'YOUR_SALT_HERE'
WHERE username = 'admin';
Important Notes:
- This tool generates SHA1 hashes compatible with OJS 2.x and 3.x
- Both hash and salt must be stored in the database
- Each generation creates a unique salt and hash
- Always backup your database before making direct changes
- This is useful when you're locked out of OJS admin