Search Postgresql Archives

Re: How are md5.h: pg_md5_hash() function and below functions working?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/8/22 05:21, Ali Koca wrote:
I can't understand functions in md5.h, these are seemingly little bit weird. Such as:

     /* Utilities common to all the MD5 implementations,
     as of md5_common.c */
     extern bool pg_md5_hash(const void *buff, size_t len, char *hexsum);
     extern bool pg_md5_binary(const void *buff, size_t len, void *outbuf);
     extern bool pg_md5_encrypt(const char *passwd, const char *salt,
                            size_t salt_len, char *buf);




What they do is explained in md5_common.c.

--
Adrian Klaver
adrian.klaver@xxxxxxxxxxx





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux