Re: calculating the MD5 hash of role passwords in C

From: Matthias Apitz <guru(at)unixarea(dot)de>
To: Justin <zzzzz(dot)graf(at)gmail(dot)com>
Cc: Matthias Apitz <guru(at)unixarea(dot)de>, "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: calculating the MD5 hash of role passwords in C
Date: 2020-01-22 20:58:02
Message-ID: 20200122205802.GA3032@c720-r342378
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

El día miércoles, enero 22, 2020 a las 03:32:17p. m. -0500, Justin escribió:

> Not sure what your after but here is more information regarding how to
> store passwords in Postgresql, ...

I just want to write a piece of C-code to generate the same string as
stored in rolpassword based on the roles password (and as I learned
added the rolname), i.e. how to generate md52f128a1fbbecc4b16462e8fc8dda5cd5
from sisis123 (password) and sisis (rolename). And this, not to brute
force credentials, but to understand the hash.

matthias

--
Matthias Apitz, ✉ guru(at)unixarea(dot)de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2020-01-22 21:05:07 Re: calculating the MD5 hash of role passwords in C
Previous Message Justin 2020-01-22 20:32:17 Re: calculating the MD5 hash of role passwords in C