Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
9a78cfc1
Commit
9a78cfc1
authored
Sep 23, 2001
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add new file.
parent
484a0fa4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
65 additions
and
0 deletions
+65
-0
contrib/pgcrypto/pgcrypto.sql
contrib/pgcrypto/pgcrypto.sql
+65
-0
No files found.
contrib/pgcrypto/pgcrypto.sql
0 → 100644
View file @
9a78cfc1
-- drop function digest(bytea, text);
-- drop function digest_exists(text);
-- drop function hmac(bytea, bytea, text);
-- drop function hmac_exists(text);
-- drop function crypt(text, text);
-- drop function gen_salt(text);
-- drop function gen_salt(text, int4);
-- drop function encrypt(bytea, bytea, text);
-- drop function decrypt(bytea, bytea, text);
-- drop function encrypt_iv(bytea, bytea, bytea, text);
-- drop function decrypt_iv(bytea, bytea, bytea, text);
-- drop function cipher_exists(text);
CREATE
FUNCTION
digest
(
bytea
,
text
)
RETURNS
bytea
AS
'$libdir/pgcrypto'
,
'pg_digest'
LANGUAGE
'C'
;
CREATE
FUNCTION
digest_exists
(
text
)
RETURNS
bool
AS
'$libdir/pgcrypto'
,
'pg_digest_exists'
LANGUAGE
'C'
;
CREATE
FUNCTION
hmac
(
bytea
,
bytea
,
text
)
RETURNS
bytea
AS
'$libdir/pgcrypto'
,
'pg_hmac'
LANGUAGE
'C'
;
CREATE
FUNCTION
hmac_exists
(
text
)
RETURNS
bool
AS
'$libdir/pgcrypto'
,
'pg_hmac_exists'
LANGUAGE
'C'
;
CREATE
FUNCTION
crypt
(
text
,
text
)
RETURNS
text
AS
'$libdir/pgcrypto'
,
'pg_crypt'
LANGUAGE
'C'
;
CREATE
FUNCTION
gen_salt
(
text
)
RETURNS
text
AS
'$libdir/pgcrypto'
,
'pg_gen_salt'
LANGUAGE
'C'
;
CREATE
FUNCTION
gen_salt
(
text
,
int4
)
RETURNS
text
AS
'$libdir/pgcrypto'
,
'pg_gen_salt_rounds'
LANGUAGE
'C'
;
CREATE
FUNCTION
encrypt
(
bytea
,
bytea
,
text
)
RETURNS
bytea
AS
'$libdir/pgcrypto'
,
'pg_encrypt'
LANGUAGE
'C'
;
CREATE
FUNCTION
decrypt
(
bytea
,
bytea
,
text
)
RETURNS
bytea
AS
'$libdir/pgcrypto'
,
'pg_decrypt'
LANGUAGE
'C'
;
CREATE
FUNCTION
encrypt_iv
(
bytea
,
bytea
,
bytea
,
text
)
RETURNS
bytea
AS
'$libdir/pgcrypto'
,
'pg_encrypt_iv'
LANGUAGE
'C'
;
CREATE
FUNCTION
decrypt_iv
(
bytea
,
bytea
,
bytea
,
text
)
RETURNS
bytea
AS
'$libdir/pgcrypto'
,
'pg_decrypt_iv'
LANGUAGE
'C'
;
CREATE
FUNCTION
cipher_exists
(
text
)
RETURNS
bool
AS
'$libdir/pgcrypto'
,
'pg_cipher_exists'
LANGUAGE
'C'
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment