Re: Redhat shadow file.



Mike wrote:
Not being a crypto person at all, I am trying to write an algorithm to
convert my passwords into this format.

All the Linux source code should be readily available for your perusal.
Start with the source for the "passwd" utility, and you will probably
find that it calls upon some library function to do the encryption.
So then examine the source for that library function. If it is at all
reasonably well written, it should explain what it is doing, and you
can use that implementation (very likly done in C) for your own
purposes.
.



Relevant Pages

  • Re: Redhat shadow file.
    ... convert my passwords into this format. ... Start with the source for the "passwd" utility, ... So then examine the source for that library function. ...
    (sci.crypt)
  • Re: puts() vs printf()
    ... I think that would bother me because I consider the compiler knowing ... this much about a parameter to a library function to be pathological ... implements his own standard IO library and discovers the compiler has ... different ideas about format strings? ...
    (comp.lang.c)