I am a beginner to all this, I am currently doing it as a module in my university assignment and currently not at university therefore I cannot get help there.
I am trying to encrypt the passwords I have stored in a user table, I have no idea what to do, I'm aware a lot of them can be decrypted and that is not something I want. The photo is of my current users table, the passwords are randomly generated - not encrypted. Can anyone please help me on how to hash my passwords and still make it possible to login properly, I am a complete beginner to all this and just need some guidance on solving this problem,
thanks.
CREATE TABLE databaseusers (
databaseruser_id int(5) NOT NULL,
database_user varchar(25) NOT NULL,
database_password varchar(40) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;