run when built with --with-openssl).
--
-- 3DES cipher
--
+-- ensure consistent test output regardless of the default bytea format
+SET bytea_output TO escape;
-- test vector from somewhere
SELECT encode(encrypt(
decode('80 00 00 00 00 00 00 00', 'hex'),
--
-- Cast5 cipher
--
+-- ensure consistent test output regardless of the default bytea format
+SET bytea_output TO escape;
-- test vectors from RFC2144
-- 128 bit key
SELECT encode(encrypt(
--
-- DES cipher
--
+-- ensure consistent test output regardless of the default bytea format
+SET bytea_output TO escape;
-- no official test vectors atm
-- from blowfish.sql
SELECT encode(encrypt(
--
-- 3DES cipher
--
+-- ensure consistent test output regardless of the default bytea format
+SET bytea_output TO escape;
-- test vector from somewhere
SELECT encode(encrypt(
--
-- Cast5 cipher
--
+-- ensure consistent test output regardless of the default bytea format
+SET bytea_output TO escape;
-- test vectors from RFC2144
--
-- DES cipher
--
+-- ensure consistent test output regardless of the default bytea format
+SET bytea_output TO escape;
-- no official test vectors atm