Re: MD5 different standards?

Поиск
Список
Период
Сортировка
От Joe Conway
Тема Re: MD5 different standards?
Дата
Msg-id 3ED643CD.6020902@joeconway.com
обсуждение исходный текст
Ответ на MD5 different standards?  ("M. Bastin" <marcbastin@mindspring.com>)
Ответы MD5 done. Thanks!  ("M. Bastin" <marcbastin@mindspring.com>)
Список pgsql-novice
M. Bastin wrote:
> Are there different MD5 standards?
>
> The rfc (http://www.faqs.org/rfcs/rfc1321.html) says:
>
> The algorithm takes as input a message of arbitrary length and produces
> as output a 128-bit [= 16 bytes] "fingerprint" or "message digest" of
> the input.
>
> My IDE's MD5 function produces 16 bytes.  Yet for pgsql MD5 should
> produce 32 bytes.

16 binary bytes == 32 bytes in hex

You need to convert IDE's MD5 function output to hex.

Joe


В списке pgsql-novice по дате отправления:

Предыдущее
От: "M. Bastin"
Дата:
Сообщение: MD5 different standards?
Следующее
От: "M. Bastin"
Дата:
Сообщение: MD5 different standards--or not?