There are only three functions inside Encrypt.h:

Err EncDES(BytePtr srcP, BytePtr keyP, BytePtr dstP, Boolean encrypt)
Err EncDigestMD4(BytePtr strP, Word strLen, Byte digestP[16])
Err EncDigestMD5(BytePtr strP, Word strLen, Byte digestP[16])

The first one performs reversible encryption using DES algorithm.
The other two execute the Rivest MD4 and MD5 algorithms for digital 
signature.

I would like to have the following Unix like function:

crypt(password, salt);

wich is not reversible and take two args:
password: a string password to be encrypted;
salt: two random chars.

Thanks
Leonardo Holanda.
(Brazil)

--- In [EMAIL PROTECTED], "Shaikh Khurram Saghir" <[EMAIL PROTECTED]> 
wrote:
> See Encrypt.h
> 
> Regards,
> Khurram+
> 
> ----- Original Message -----
> From: Leonardo G. Holanda <[EMAIL PROTECTED]>
> To: Palm Developer Forum <[EMAIL PROTECTED]>
> Sent: Monday, July 09, 2001 2:50 PM
> Subject: crypt() like function.
> 
> 
> > I've been looking to a Unix crypt() like function in CW and SDK
> > documentation. Does anyone knows where I can find it?
> >
> > Thanks,
> > Leonardo Holanda
> > (Brazil)



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to