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

From Ali Koca
Subject How are md5.h: pg_md5_hash() function and below functions working?
Date
Msg-id f275e35f-2f0b-6b7f-2522-3dda2a0ffd24@gmail.com
Whole thread Raw
Responses Re: How are md5.h: pg_md5_hash() function and below functions working?  (Adrian Klaver <adrian.klaver@aklaver.com>)
List pgsql-general
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);



pgsql-general by date:

Previous
From: Alicja Kucharczyk
Date:
Subject: create database hangs forever on WSL - autovacuum deadlock?
Next
From: Adrian Klaver
Date:
Subject: Re: How are md5.h: pg_md5_hash() function and below functions working?