mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-03-01 19:45:33 +08:00
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
This commit is contained in:
parent
98e4dce78b
commit
4ab8ded9fb
@ -1,5 +1,5 @@
|
||||
--
|
||||
-- AES / Rijndael-128 cipher
|
||||
-- AES cipher (aka Rijndael-128, -192, or -256)
|
||||
--
|
||||
-- ensure consistent test output regardless of the default bytea format
|
||||
SET bytea_output TO escape;
|
||||
|
@ -1,5 +1,5 @@
|
||||
--
|
||||
-- AES / Rijndael-128 cipher
|
||||
-- AES cipher (aka Rijndael-128, -192, or -256)
|
||||
--
|
||||
-- ensure consistent test output regardless of the default bytea format
|
||||
SET bytea_output TO escape;
|
||||
|
@ -1014,7 +1014,7 @@ decrypt_iv(data bytea, key bytea, iv bytea, type text) returns bytea
|
||||
|
||||
<itemizedlist>
|
||||
<listitem><para><literal>bf</literal> — Blowfish</para></listitem>
|
||||
<listitem><para><literal>aes</literal> — AES (Rijndael-128)</para></listitem>
|
||||
<listitem><para><literal>aes</literal> — AES (Rijndael-128, -192 or -256)</para></listitem>
|
||||
</itemizedlist>
|
||||
and <replaceable>mode</> is one of:
|
||||
<itemizedlist>
|
||||
|
Loading…
Reference in New Issue
Block a user