* Michelle Konzack <[EMAIL PROTECTED]>:
> Am 2004-11-29 11:26:35, schrieb Andreas Kretschmer:
> > Hilft Dir das:
> > echo "bla" | md5sum | sed 's/^.\{16\}//'

> Der String sollte schon funktionsf�hig bleiben...

Wo liegt dein Problem? md5 ist ein Hash, also ohnehin one-way. Wenn du
etwas /wie/ md5 willst, dann muss man doch annehmen, dass du ebenfalls
nur einen hash erstellen willst. Und das tut Andreas' Befehl
einwandfrei. Nat�rlich mit mehr Kollisionen als beim original MD5, das
ist nicht zu vermeiden, wenn der Hash k�rzer wird.

Gr��e, Felix

-- 
 | /"\   ASCII Ribbon   | Felix M. Palmen (Zirias)    http://zirias.ath.cx/ |
 | \ / Campaign Against | [EMAIL PROTECTED]      encrypted mail welcome |
 |  X    HTML In Mail   | PGP key: http://zirias.ath.cx/pub.txt             |
 | / \     And News     | ED9B 62D0 BE39 32F9 2488 5D0C 8177 9D80 5ECF F683 |

Attachment: signature.asc
Description: Digital signature

Antwort per Email an