| От | Dimitri Fontaine |
|---|---|
| Тема | Re: Converting BYTEA from/to BIGINT |
| Дата | |
| Msg-id | 87iq41qnxd.fsf@hi-media-techno.com обсуждение |
| Ответ на | Re: Converting BYTEA from/to BIGINT (Vincenzo Romano <vincenzo.romano@notorand.it>) |
| Ответы |
Re: Converting BYTEA from/to BIGINT
|
| Список | pgsql-general |
Vincenzo Romano <vincenzo.romano@notorand.it> writes: > Now, why doing this? > I am using a plain SEQUENCE to create a (kind of) "session ID". That > is simple but predictable. > The idea is to use this function in conjunction with encrypt (from > pgcrypto) and the blowfish algorithm > to make that sequence numbers somehow unpredictable. > I'm pretty sure there are better (or at least easier) solutions out > there, but there needs to be also some fun > in here. I think you'd be interested into the following: http://wiki.postgresql.org/wiki/Pseudo_encrypt Regards, -- dim
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера