Re: How are md5.h: pg_md5_hash() function and below functions working? - Mailing list pgsql-general

From Adrian Klaver
Subject Re: How are md5.h: pg_md5_hash() function and below functions working?
Date
Msg-id 533f71da-16f1-349e-d391-08f048ea27bc@aklaver.com
Whole thread Raw
In response to How are md5.h: pg_md5_hash() function and below functions working?  (Ali Koca <kinetixcicocuk@gmail.com>)
Responses Re: How are md5.h: pg_md5_hash() function and below functions working?
List pgsql-general
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@aklaver.com



pgsql-general by date:

Previous
From: Ali Koca
Date:
Subject: How are md5.h: pg_md5_hash() function and below functions working?
Next
From: Ali Koca
Date:
Subject: Why not used standart SQL commands?