📄 learn about windows cryptography.htm
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0041)http://www.aspencrypt.com/task_learn.html -->
<HTML><HEAD><TITLE>AspEncrypt.com - Learn about Windows Cryptography</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META
content="Security, Secure, Encryption, Encrypt, Decryption, Decrypt, Symmetric, Digital, Digital Signature, SMIME, S/MIME, Secure MIME, RSA, PKCS, PKCS#7, PKCS #7, PKCS7, Certificate, Certificates, X.509, X509, X-509, CRL, Hash, DES, RC2, RC4, MD4, MD5, SHA, SHA1, Triple-DES, Triple DES, Hash Function, Certificate Authority, CA, Certification Authority, Enveloped, Encrypted, Signed, Upload, Download, CSP, Cryptopgraphic Service Provider, Microsoft, CryptoAPI, Microsoft Base, Microsoft Enhanced, Password, Passwords, Certificate Store, Store, Issuer, Signer, Signatures, Digitally Signed, Digital Signatures, Verify, Verification, public key, private key, public key cryptography, key pair, key, keys, XEnroll, ActiveX, ASP, Visual Basic, VB, Visual InterDev, VID, Server Component, Component, components, AspEncrypt, AspCrypt, Crypto, Encryption, Cryptographic, 128-bit, 128 bit, PWS, BLOB, Personal Web Server, IIS, Internet Information Server, ASP, Persits Software, Persits, Web, ASP, Active Server Pages, Active Server Component, Upload, browser, Windows, Component" name=KEYWORDS>
<META
content="Security Secure Encryption Encrypt Decryption Symmetric Decrypt Digital Digital Signature SMIME S/MIME Secure MIME RSA PKCS#7 PKCS #7 PKCS7 Certificate Certificates X.509 X509 X-509 CRL Hash DES RC2 RC4 MD4 MD5 SHA SHA1 Triple-DES Triple DES Hash Function Certificate Authority CA Certification Authority Enveloped Encrypted Signed Upload Download CSP Cryptopgraphic Service Provider Microsoft CryptoAPI Microsoft Base Microsoft Enhanced Password Passwords Certificate Store Store Issuer Signer Signatures Digitally Signed Digital Signatures Verify Verification public key private key public key cryptography key pair key keys XEnroll ActiveX ASP Visual Basic VB Visual InterDev VID Server Component Component components AspEncrypt AspCrypt Crypto Encryption Cryptographic 128-bit 128 bit PWS BLOB Personal Web Server IIS Internet Information Server ASP Persits Software Persits Web ASP Active Server Pages Active Server Component Upload browser Windows Component"
name=KEYWORDS>
<META content="AspEncrypt.com - Encryption Component for an ASP/IIS Environment"
name=DESCRIPTION>
<META content="MSHTML 6.00.2900.2180" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff leftMargin=0 topMargin=0 MARGINHEIGHT="0"
MARGINWIDTH="0"><!-- Top Line -->
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD vAlign=bottom width="100%" bgColor=#000000 colSpan=3><IMG height=2
hspace=0 src="Learn About Windows Cryptography.files/spacer.gif" width=3
border=0></TD></TR><!--Logo--><!-- Start banner -->
<TR>
<TD vAlign=bottom width=2 bgColor=#000000><IMG height=3 hspace=0
src="Learn About Windows Cryptography.files/spacer.gif" width=2
border=0></TD>
<TD width=*>
<TABLE cellSpacing=0 cellPadding=0 width="100%" bgColor=#ffffff
border=0><TBODY>
<TR height=60>
<TD align=right width=*
background="Learn About Windows Cryptography.files/header-asp-encrypt63.gif"><A
href="http://www.persits.com/"><IMG
alt="Persits Software, Inc. Web Site"
src="Learn About Windows Cryptography.files/logo_right.gif"
border=0></A></TD></TR></TBODY></TABLE></TD>
<TD vAlign=bottom width=2 bgColor=#000000><IMG height=3 hspace=0
src="Learn About Windows Cryptography.files/spacer.gif" width=3
border=0></TD></TR><!-- Horizontal line -->
<TR>
<TD bgColor=#000000 colSpan=3 height=1><IMG height=1 hspace=0
src="Learn About Windows Cryptography.files/spacer.gif" width=1
border=0></TD></TR><!-- End Logo/Banner --><!-- Start Main Menu //-->
<TR>
<TD vAlign=bottom width=2 bgColor=#000000><IMG height=3 hspace=0
src="Learn About Windows Cryptography.files/spacer.gif" width=3
border=0></TD>
<TD width=*>
<TABLE cellSpacing=0 cellPadding=2 width="100%" border=0>
<TBODY>
<TR>
<TD vAlign=center noWrap align=right width=*
bgColor=#fafafa><B><FONT
face="MS Sans serif, Geneva, Arial, Helvetica, Sans-serif"
color=#000000 size=-1>Main Menu: </FONT></B></TD>
<TD vAlign=center align=left width="100%" bgColor=#fafafa
colSpan=2><FONT
face="MS Sans serif, Geneva, Arial, Helvetica, Sans-serif"
color=#000031 size=-2><B><A
href="http://www.aspencrypt.com/index.html">Home</B></A> |
<B>Tasks</B> | <B><A
href="http://www.aspencrypt.com/objectreference.html">Object
Reference</A></B> | <B><A
href="http://www.aspencrypt.com/crypto101.html">Crypto
101</A></B> | <B><A
href="http://www.aspencrypt.com/faq.html">FAQ</A></B> |
<B><A href="http://www.aspencrypt.com/download.html">Download &
Buy</A></B> | <B><A
href="http://www.aspencrypt.com/clients.html">Clients</A></B> |
<B><A href="http://www.aspencrypt.com/livedemo.html">Live
Demo</A></B> | <B><A
href="http://www.aspencrypt.com/contact.html">Contact</A></B>
</FONT>
<DIV></DIV></TD></TR>
<TR>
<TD vAlign=center noWrap align=right width=*
bgColor=#9c3131><B><FONT
face="MS Sans serif, Geneva, Arial, Helvetica, Sans-serif"
color=#ffffff size=-1> Navigator: </FONT></B></TD>
<TD vAlign=center align=left width="100%" bgColor=#9c3131
colSpan=2><FONT
face="MS Sans serif, Geneva, Arial, Helvetica, Sans-serif"
color=#ffffff size=-2><B><A
href="http://www.aspencrypt.com/index.html"><FONT
color=#ffffff>Home</FONT></B></A> | <B><A
href="http://www.aspencrypt.com/tasks.html"><FONT
color=#ffffff>Tasks</FONT></B></A> | <B> Learn about
Windows Cryptography </B></FONT>
<DIV></DIV></TD></TR></TBODY></TABLE></TD>
<TD vAlign=bottom width=2 bgColor=#000000><IMG height=3 hspace=0
src="Learn About Windows Cryptography.files/spacer.gif" width=3
border=0></TD></TR>
<TR>
<TD bgColor=#000000 colSpan=3 height=1><IMG height=1 hspace=0
src="Learn About Windows Cryptography.files/spacer.gif" width=1
border=0></TD></TR><!-- End Main Menu //--><!-- Body -->
<TR><!--Left black column-->
<TD width=2 bgColor=#000000><IMG height=2 hspace=0
src="Learn About Windows Cryptography.files/spacer.gif" width=2
border=0></TD><!-- Data starts here -->
<TD vAlign=top><!-- Three-column table for that occopies the data space:-->
<TABLE cellSpacing=2 cellPadding=0 width="100%" border=0>
<TBODY>
<TR><!--Main Text -->
<TD vAlign=top align=left width=1000 height="100%"><A
href="http://www.aspencrypt.com/task_start.html"><IMG
alt="Start Using AspEncrypt"
src="Learn About Windows Cryptography.files/next.gif" align=right
border=0></A> <BR><FONT face=Arial color=#9c3131
size=4> <B>Learn About Windows Cryptography</B> </FONT>
<BLOCKQUOTE><FONT face=Arial size=2>AspEncrypt is built around the
<B>Microsoft Cryptographic Application Programming Interface
(CryptoAPI)</B> which is part of the Win32 API. It is therefore
important to know the basics of the Microsoft implementation of
cryptography in order to understand how AspEncrypt works.
<P>The CryptoAPI architecture is somewhat similar to ODBC in that
it consists of an API layer (analogous to ODBC Manager) and a
number of cryptographic modules underneath that layer that
actually perform cryptographic tasks (analogous to ODBC drivers.)
These modules are called Cryptographic Service Providers (CSPs).
There is quite a few CSPs currently available on the market. One
CSP, the Microsoft Base Cryptographic Provider, is bundled with
the CryptoAPI. Another CSP, Microsoft Enhanced Cryptographic
Provider is available for free from the Microsoft web site. These
two CSPs are sufficient for all functions offered by AspEncrypt.
<P>Read about CryptoAPI at <A
href="http://msdn.microsoft.com/isapi/msdnlib.idc?theURL=/library/sdkdoc/crypto/portalapi_3351.htm">MSDN/Platform
SDK/CryptoAPI</A>.
<P></FONT></P></BLOCKQUOTE><FONT face=Arial color=#9c3131
size=3> <B>Microsoft Cryptographic Service Providers:
Overview</B> </FONT>
<BLOCKQUOTE><FONT face=Arial size=2><B>The Microsoft Base
Cryptographic Provider 2.0</B> is a general-purpose provider that
supports digital signatures and data encryption. This provider is
currently included with the operating system (either Windows NT?
2000, or Windows?95/98). It is also provided with Microsoft
Internet Explorer, Version 3.0 or later.
<P>When AspEncrypt is used with the Microsoft Base Cryptographic
Provider, the following algorithms are available:
<P>
<TABLE cellSpacing=0 cellPadding=2 border=1>
<TBODY>
<TR>
<TH>Purpose</TH>
<TH>Name</TH>
<TH>Key or Hash Size</TH></TR>
<TR>
<TD>Hash</TD>
<TD>MD2</TD>
<TD>128 bit</TD></TR>
<TR>
<TD>Hash</TD>
<TD>MD4</TD>
<TD>128 bit</TD></TR>
<TR>
<TD>Hash</TD>
<TD>MD5</TD>
<TD>128 bit</TD></TR>
<TR>
<TD>Hash</TD>
<TD>SHA</TD>
<TD>160 bit</TD></TR>
<TR>
<TD>Symmetric Encryption</TD>
<TD>RC2</TD>
<TD>40 bit</TD></TR>
<TR>
<TD>Symmetric Encryption</TD>
<TD>RC4</TD>
<TD>40 bit</TD></TR>
<TR>
<TD>Public-Key Encryption</TD>
<TD>RSA</TD>
<TD>384 - 512 bit</TD></TR>
<TR>
<TD vAlign=top>Public-Key Signature</TD>
<TD vAlign=top>RSA</TD>
<TD>384 - 16,384 bit<BR>512 bit by
default</TD></TR></TBODY></TABLE>
<P><B>The Microsoft Enhanced Cryptographic Provider</B> supports
the same capabilities as the Microsoft Base Cryptographic
Provider, but provides for stronger security through longer keys
and additional algorithms. The Enhanced provider is installed on
your machine when you apply the Internet Explorer 128-bit security
patch available form <A
href="http://www.microsoft.com/windows/ie/download/128bit/intro.htm">http://www.microsoft.com/windows/ie/download/128bit/intro.htm</A>.
<P>When AspEncrypt is used with the Microsoft Enhanced
Cryptographic Provider, the following algorithms are available:
<P>
<TABLE cellSpacing=0 cellPadding=2 border=1>
<TBODY>
<TR>
<TH>Purpose</TH>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -