Skip to content

Commit 71bf5bc

Browse files
committed
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
1 parent 697ee73 commit 71bf5bc

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

contrib/pgcrypto/expected/rijndael.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--
2-
-- AES / Rijndael-128 cipher
2+
-- AES cipher (aka Rijndael-128, -192, or -256)
33
--
44
-- ensure consistent test output regardless of the default bytea format
55
SET bytea_output TO escape;

contrib/pgcrypto/sql/rijndael.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--
2-
-- AES / Rijndael-128 cipher
2+
-- AES cipher (aka Rijndael-128, -192, or -256)
33
--
44
-- ensure consistent test output regardless of the default bytea format
55
SET bytea_output TO escape;

doc/src/sgml/pgcrypto.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1049,7 +1049,7 @@ decrypt_iv(data bytea, key bytea, iv bytea, type text) returns bytea
10491049

10501050
<itemizedlist>
10511051
<listitem><para><literal>bf</literal> &mdash; Blowfish</para></listitem>
1052-
<listitem><para><literal>aes</literal> &mdash; AES (Rijndael-128)</para></listitem>
1052+
<listitem><para><literal>aes</literal> &mdash; AES (Rijndael-128, -192 or -256)</para></listitem>
10531053
</itemizedlist>
10541054
and <replaceable>mode</> is one of:
10551055
<itemizedlist>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy