-
Notifications
You must be signed in to change notification settings - Fork 0
asio/password
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
======================================
This PostgreSQL extension implements a password data type.
Building
--------
make
sudo make install
Install
-------
CREATE EXTENSION password;
operators
--------
= Check that encrypted password is equal to clear text password
Example
-------
CREATE EXTENSION password;
CREATE TABLE users (
username text not null,
password password not null
);
INSERT INTO users (username, password) VALUES ('someuser', 'somesecret');
SELECT * FROM users;
username | password
----------+--------------------------------------------------------------
someuser | $2a$12$6hhS1QSTkBF7iOEgQXM2Tec/fkhmzpYHRpus91m.1y3/aFiW8aS8e
(1 row)
About
Postgresql data type for passwords
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published