Quantcast
Channel: Question and Answer » postgresql
Viewing all articles
Browse latest Browse all 1138

how are passwords encoded in pg_shadow

$
0
0

How are passwords encoded in column passwd of pg_shadow?

Doing a:

select passwd from pg_shadow;

I see values like the following:

 md52c92c858aa1fa12144f1dcbd4ca9c3a0

… which, doesn’t seem to be what I know my password’s MD5 hash to be (stripping the leading “md5″ obviously). Are the hashes also salted?


Viewing all articles
Browse latest Browse all 1138

Trending Articles