| От | Marko Kreen |
|---|---|
| Тема | Re: Using pgcrypto with AES-256 bits? |
| Дата | |
| Msg-id | e51f66da0505021054666ac15d@mail.gmail.com обсуждение исходный текст |
| Ответ на | Using pgcrypto with AES-256 bits? ("Stas Oskin" <stas@neo.co.il>) |
| Список | pgsql-general |
On 5/1/05, Stas Oskin <stas@neo.co.il> wrote: > I tried the pgcrypto contrib module with the AES default encryption. It > works pretty nice, but I understand that it's using 128 bit key strength. Is > there any built-in support for the 256 bit key strength? Or it should be > used via external libraries? Key will be upward zero-padded to nearest supported key length. AES supports 3 key lengths: 128, 192 and 256 bits. So simply give the encrypt() function 256-bit key. > AFAIK, the support of mhash and mcrypt was dropped from the recent version > of the module, so the AES 256 functionality can be only provided by OpenSSL? Builtin AES supports 256-bit keys too. -- marko
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера