Hi Alex, > Hi Jon, > >> >The big question is: Did it only help to *build* it, or does it also >> >*work* (i.e. does the 'passwd' function function return an encrypted >> >password if '*Salt' is set, see my previous mail)? >> > >> >?? Alex >> >> Can I test this 'passwd' function in 32-bit PicoLisp? (I may not >> find any time for testing this week.) > > Yes, just set *Salt before calling it: > > $ ./pil lib/adm.l + > : (de *Salt 16 . "$6$@1$") > -> *Salt > : (passwd "somestring") > -> > "$6$wP5felT4WglQGnBv$jNf41BDZrShV6998tTbtF961neYkWnmbSxBdEHPr99/t9aBNCBweCTqGExtr9vQTq4vzZ0vckr5ITgyc/AgyE/" > > On failure (for example, if it is the wrong crypt library), you should > get an error message about undefined 'ext:Crypt'. > > ?? Alex
I did this: $ ./pil lib/adm.l + : (de *Salt 16 . "$6$@1$") -> *Salt : (passwd "somestring") -> "$6bsuufIMFxJE" So it seems that the 'passwd' function is working in 32-bit PicoLisp on Mac, right? /Jon -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe