home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Freesoft 1997 May
/
Freesoft_1997-05_cd.bin
/
nerecenz
/
programers
/
CRYPT
/
XCRYPT
/
XCRYPT.C
< prev
next >
Wrap
C/C++ Source or Header
|
1997-04-01
|
267b
|
16 lines
#include <windows.h>
// #include <ole2.h>
#include "crypt_util.h"
#define CCONV _stdcall
BSTR CCONV xcrypt (BSTR *bstrClearPwd)
{
BSTR bstrEncPwd;
bstrEncPwd = SysAllocStringLen(NULL, 13);
crypt((LPSTR)bstrClearPwd, "as");
return bstrEncPwd;
}