联盟首页 协同开发 共创软件 开放源码 软件工程 共创论坛 关于联盟
  您的位置 » 开放源码库【成熟 - 项目摘要 首页 | 分类源码 | 提交源码 | 下载统计 | 原创源码 | 成熟源码 | 代码片断
 
 Encrypting and decrypting sensitive data - 项目摘要
摘要 | 管理 | 论坛
文档 | 软件包

源码库中源码数量为19221
有贡献人员名单:

-= 更多 =-
  • ffdshow
  • jasperreports
  • PoolMan
  • Air Traffic Controller
  • virtualdub-win
  • CppUnit
  • Apache-SSL-Jserv
  • FCK editor
  • Async Professional
  • GLgraph
  • -= 更多 =-

    项目描述:
    Many programs deal with sensitive data that has to be stored in memory, the windows registry or a file in the disk. It is common for programmers to "invent" an encryption algorithm which most of the time is very weak. However, the Win32 API provides us with the ability to use pretty good encryption algorithms such as RC4, which is included in NT. In fact CryptoAPI allows the use of any encryption algorithm, providing it is currently installed in the system by some security provider. Unfortunately, CryptoAPI is not supported in Windows 95 or Windows 98, it works on NT only. In this article we show a simple way to encrypt and decrypt a string that is stored in the windows registry using CryptoAPI functions.
    很多用来处理敏感数据的程序存储在存储器中,存储在磁盘的Windows视窗注册表或者文件中。对于程序员来说,"自设"一种加密算法是很普遍的,但是很多时候这种做法并不耐用。然而,Win32 API为我们提供了非常好的加密算法,例如RC4(包含在NT.中)。事实上,假如这些算法是由安全性供给者提供的,普遍安装在系统中的话,CryptoAPI允许用户使用任何一种加密算法,不巧的是,Windows 95和Windows 98并不支持CryptoAPI,它仅能在NT中运行。在这个项目中,我们将展示一种简单的方式来加密和解密字符串(它使用CryptoAPI函数存储在windows注册表中)。
    来源: http://www.codeguru.com/misc/encrypt_decrypt.shtml
    类别:
    发布者: cbd002

    最新发布源码包
    软件包 版本号 日期 本地下载
    encrypt_decrypt  1.0  2004-03-15 下载

    原始下载连接(国外) http://www.codeguru.com/code/legacy/misc/encrypt_decrypt_demo.zip

      » 合 作 伙 伴