des c 加密算法
strcpy(user,"bup12345678"); strcpy(pwd,"bup12345678"); printf("\n-----------------\n"); printf("BCR: %s\n",pwd); cryptPWD(pwd,user,pin); printf("PIN: %s\n",pin); UnCryptPWD(pin,user,mpin); printf("UCR: %s\n",mpin); getchar(); return 0;
strcpy(user,"bup12345678"); strcpy(pwd,"bup12345678"); printf("\n-----------------\n"); printf("BCR: %s\n",pwd); cryptPWD(pwd,user,pin); printf("PIN: %s\n",pin); UnCryptPWD(pin,user,mpin); printf("UCR: %s\n",mpin); getchar(); return 0;