[COLUG] Enterprise Two Factor Authentication: Avoiding NIH

Jim jep200404 at columbus.rr.com
Tue Mar 13 19:10:36 EST 2007


Earlier I wrote:

> Better yet, instead of reinventing the wheel and NIH, 
> why not use some other characterification function, 
> perhaps, some MIME-ish characterification function? 

ala base64_encode()

Hence something like: 

   $j=translate(base64_encode(itos(hexdec(md5($j)))),"base 64 chars",$encoding);

Where itos converts int to string of bytes (that might include NUL chars) 
and where translate replaces each character of the first argument 
that can be found in the second argument with 
with the corresponding character from the third argument. 



More information about the colug432 mailing list