How to store sensitive user data (passwords)

I want to create a plugin addon that allows my sites users to share private login information in a secure manner. So they'll enter these private details in a form on the frontend and I want to be able to decrypt it on the backend. What's the best way to go about this, because as far as I'm aware password encrypting is a one-way process, or will I be able to use encrypt() or password ()?

Topic dbdelta wpdb plugin-development security Wordpress sql

Category Web

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.