Skip to content
Snippets Groups Projects
Commit 71bf5bc2 authored by Robert Haas's avatar Robert Haas
Browse files

pgcrypto's encrypt() supports AES-128, AES-192, and AES-256

Previously, only 128 was mentioned, but the others are also supported.

Thomas Munro, reviewed by Michael Paquier and extended a bit by me.

Discussion: http://postgr.es/m/CAEepm=1XbBHXYJKofGjnM2Qfz-ZBVqhGU4AqvtgR+Hegy4fdKg@mail.gmail.com
parent 697ee735
No related branches found
Tags
No related merge requests found
-- --
-- AES / Rijndael-128 cipher -- AES cipher (aka Rijndael-128, -192, or -256)
-- --
-- ensure consistent test output regardless of the default bytea format -- ensure consistent test output regardless of the default bytea format
SET bytea_output TO escape; SET bytea_output TO escape;
......
-- --
-- AES / Rijndael-128 cipher -- AES cipher (aka Rijndael-128, -192, or -256)
-- --
-- ensure consistent test output regardless of the default bytea format -- ensure consistent test output regardless of the default bytea format
SET bytea_output TO escape; SET bytea_output TO escape;
......
...@@ -1049,7 +1049,7 @@ decrypt_iv(data bytea, key bytea, iv bytea, type text) returns bytea ...@@ -1049,7 +1049,7 @@ decrypt_iv(data bytea, key bytea, iv bytea, type text) returns bytea
<itemizedlist> <itemizedlist>
<listitem><para><literal>bf</literal> &mdash; Blowfish</para></listitem> <listitem><para><literal>bf</literal> &mdash; Blowfish</para></listitem>
<listitem><para><literal>aes</literal> &mdash; AES (Rijndael-128)</para></listitem> <listitem><para><literal>aes</literal> &mdash; AES (Rijndael-128, -192 or -256)</para></listitem>
</itemizedlist> </itemizedlist>
and <replaceable>mode</> is one of: and <replaceable>mode</> is one of:
<itemizedlist> <itemizedlist>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment