mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
SET autocommit no longer needed in /contrib because pg_regress.sh does
it automatically now on regression session startup.
This commit is contained in:
@ -2,8 +2,6 @@
|
||||
-- Blowfish cipher
|
||||
--
|
||||
|
||||
SET autocommit TO 'on';
|
||||
|
||||
-- some standard Blowfish testvalues
|
||||
SELECT encode(encrypt(
|
||||
decode('0000000000000000', 'hex'),
|
||||
|
@ -2,8 +2,6 @@
|
||||
-- crypt() and gen_salt(): bcrypt
|
||||
--
|
||||
|
||||
SET autocommit TO 'on';
|
||||
|
||||
SELECT crypt('', '$2a$06$RQiOJ.3ELirrXwxIZY8q0O');
|
||||
|
||||
SELECT crypt('foox', '$2a$06$RQiOJ.3ELirrXwxIZY8q0O');
|
||||
|
@ -2,8 +2,6 @@
|
||||
-- crypt() and gen_salt(): crypt-des
|
||||
--
|
||||
|
||||
SET autocommit TO 'on';
|
||||
|
||||
SELECT crypt('', 'NB');
|
||||
|
||||
SELECT crypt('foox', 'NB');
|
||||
|
@ -2,8 +2,6 @@
|
||||
-- crypt() and gen_salt(): md5
|
||||
--
|
||||
|
||||
SET autocommit TO 'on';
|
||||
|
||||
SELECT crypt('', '$1$Szzz0yzz');
|
||||
|
||||
SELECT crypt('foox', '$1$Szzz0yzz');
|
||||
|
@ -2,8 +2,6 @@
|
||||
-- crypt() and gen_salt(): extended des
|
||||
--
|
||||
|
||||
SET autocommit TO 'on';
|
||||
|
||||
SELECT crypt('', '_J9..j2zz');
|
||||
|
||||
SELECT crypt('foox', '_J9..j2zz');
|
||||
|
@ -2,8 +2,6 @@
|
||||
-- HMAC-MD5
|
||||
--
|
||||
|
||||
SET autocommit TO 'on';
|
||||
|
||||
SELECT encode(hmac(
|
||||
'Hi There',
|
||||
decode('0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b', 'hex'),
|
||||
|
@ -2,8 +2,6 @@
|
||||
-- HMAC-MD5
|
||||
--
|
||||
|
||||
SET autocommit TO 'on';
|
||||
|
||||
SELECT encode(hmac(
|
||||
'Hi There',
|
||||
decode('0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b', 'hex'),
|
||||
|
@ -3,7 +3,6 @@
|
||||
--
|
||||
|
||||
\set ECHO none
|
||||
SET autocommit TO 'on';
|
||||
\i pgcrypto.sql
|
||||
\set ECHO all
|
||||
|
||||
|
@ -2,8 +2,6 @@
|
||||
-- MD5 message digest
|
||||
--
|
||||
|
||||
SET autocommit TO 'on';
|
||||
|
||||
SELECT encode(digest('', 'md5'), 'hex');
|
||||
SELECT encode(digest('a', 'md5'), 'hex');
|
||||
SELECT encode(digest('abc', 'md5'), 'hex');
|
||||
|
@ -2,8 +2,6 @@
|
||||
-- AES / Rijndael-128 cipher
|
||||
--
|
||||
|
||||
SET autocommit TO 'on';
|
||||
|
||||
-- some standard Rijndael testvalues
|
||||
SELECT encode(encrypt(
|
||||
decode('00112233445566778899aabbccddeeff', 'hex'),
|
||||
|
@ -2,8 +2,6 @@
|
||||
-- SHA1 message digest
|
||||
--
|
||||
|
||||
SET autocommit TO 'on';
|
||||
|
||||
SELECT encode(digest('', 'sha1'), 'hex');
|
||||
SELECT encode(digest('a', 'sha1'), 'hex');
|
||||
SELECT encode(digest('abc', 'sha1'), 'hex');
|
||||
|
Reference in New Issue
Block a user