Re: Tool to crypt a password

2017-02-06 Thread Teemu Likonen
Nicolas George [2017-02-06 19:41:45+01] wrote: > L'octidi 18 pluviôse, an CCXXV, Teemu Likonen a écrit : >> I'm not expert in this area but from what I have read I'm quite sure >> that 3DES is still very much safe. There are no known practical attack >> methods and it's still used for serious encr

Re: Tool to crypt a password

2017-02-06 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, Feb 06, 2017 at 05:43:32PM +0100, Nicolas George wrote: > L'octidi 18 pluviôse, an CCXXV, Greg Wooledge a écrit : > > I wrote this many years ago. It's primitive, but may suit: > > > > http://wooledge.org/~greg/crypt/ > > Indeed. Unfortunate

Re: Tool to crypt a password

2017-02-06 Thread Nicolas George
L'octidi 18 pluviôse, an CCXXV, Teemu Likonen a écrit : > I'm not expert in this area but from what I have read I'm quite sure > that 3DES is still very much safe. There are no known practical attack > methods and it's still used for serious encryption. I think you are mistaken. As a block cipher

Re: Tool to crypt a password

2017-02-06 Thread Teemu Likonen
Nicolas George [2017-02-06 17:43:32+01] wrote: > L'octidi 18 pluviôse, an CCXXV, Greg Wooledge a écrit : >> I wrote this many years ago. It's primitive, but may suit: >> >> http://wooledge.org/~greg/crypt/ > > Indeed. Unfortunately, it suffers from a limitation similar to the one > of htpasswd:

Re: Tool to crypt a password

2017-02-06 Thread Nicolas George
L'octidi 18 pluviôse, an CCXXV, Greg Wooledge a écrit : > I wrote this many years ago. It's primitive, but may suit: > > http://wooledge.org/~greg/crypt/ Indeed. Unfortunately, it suffers from a limitation similar to the one of htpasswd: it only supports 3DES, the oldest and weakest hashing algo

Re: Tool to crypt a password

2017-02-06 Thread Greg Wooledge
On Mon, Feb 06, 2017 at 05:28:39PM +0100, Nicolas George wrote: > Does anybody know a packaged program that provides a simple but good > interface to the libc's crypt() function? I wrote this many years ago. It's primitive, but may suit: http://wooledge.org/~greg/crypt/ > [...] a packaged progr

Tool to crypt a password

2017-02-06 Thread Nicolas George
Hi. Does anybody know a packaged program that provides a simple but good interface to the libc's crypt() function? I mean something that reads "2JTnJhXPzISn" on stdin and writes "$6$BqdmYkw0fsG5y8Av$LOTAkcnFu.LJlaZH./16RgX.IqSPoxuhALCqgih9tMqspMLMVzJ9WZqxUJr/.ium/8pi3iWh56G..V1XcRvNo." on stdout,