锐英源软件
第一信赖

精通

英语

开源

擅长

开发

培训

胸怀四海 

第一信赖

当前位置:锐英源 / 英语翻译 / Crypto++源代码说明书翻译

锐英源精品开源心得,转载请注明:“锐英源www.wisestudy.cn,孙老师作品,电话13803810136。”需要全文内容也请联系孙老师。

头文件

Crypto++ implements a large number of cryptographic schemes that have similar properties and behavior, but are largely independent from each other.
Crypto++实现了大量加密方案,虽然这些方案属性和行为类似,但是大部分也是按互相独立的机制来设计。
Consequentially, Crypto++ defines a number of common base classes from which most of the algorithm implementations inherit: you will encounter these classes in all programs that use Crypto++. Often, the headers in which these basic abstractions are declared do not have to be included explicitly, as they are automatically included in the more specific header files.
自然而然,Crypto++定义了一些常用基类,从这些基类里可以继承用上大部分运算实现:在编程使用Crypto++的过程中,你会经常遇到这些类。常见情况是,这些基本抽象类的头文件并没有直接声明包含,因为他们会被更具体的头文件所包含。
On the other hand, each separate algorithm that you need to implement is usually declared in its own header file that you need to include explicitly. Exactly which header file you need to include is sometimes obvious, and sometimes not. For the cases when it is not, this section describes the most important header files in Crypto++.
另外,每个要你去实现的独立运算,通常要它自己的头文件里声明,对于这样的头文件你需要显式地包含。具体要包含哪个头文件要根据情况来定。对于不需要包含的情形,本节描述了在Crypto++里最重要的头文件。
As a matter of convenience, we will divide Crypto++ header files into the following groups: 为了处理简便,分类如下:

  • Crypto++ Infrastructure 基础头文件
  • Data Manipulation 数据控制
  • Random Number Generation 随机数乱
  • Hash Functions and MACs 哈希函数和MACS
  • Block Ciphers 块密码
  • Stream Ciphers 流密码
  • Public Key Cryptosystems公开密钥密码系统

基础头文件Crypto++ Infrastructure Header Files:

Header file

Description

cryptlib.h

Provides basic abstractions for the Crypto++ library. These include: Exception, BufferedTransformation, BlockTransformation, StreamCipher, RandomAccessStreamCipher, RandomNumberGenerator, HashModule, MessageAuthenticationCode, and public key crypto base classes.对Crypto++库提供了基础的抽象。包含有:异常、BufferedTransformation、BlockTransformation、StreamCipher、RandomAccessStreamCipher、RandomNumberGenerator、HashModule、MessageAuthenticationCode和公开密钥加密基类。
If Crypto++ had a most important header file, then cryptlib.h would be it. Almost all classes defined by Crypto++ derive from base classes defined in cryptlib.h. When you need to figure out how to use one of the derived classes, your best bet is to find the relevant base class in cryptlib.h. 如果Crypto++有一个最重要的头文件,cryptlib.h会是。几乎所有类都是从cryptlib.h内定义的类继承而来。当你需要估算怎样使用一个派生,你最好找下cryptlib.h内的基类。

filters.h

Provides additional input/output base classes (derived from BufferedTransformation): Filter and derivatives, Sink and derivatives, Source and derivatives.提供额外的输入/输出类(从BufferedTransformation派生):过滤及衍生系列、汇点及衍生系列和源及衍生系列。

filters.h may be the second most important header file in Crypto++. A large number of classes in Crypto++ derive from Filter, which is an especially useful type of BufferedTransformation because of its attachment functionality. In order to make elegant and efficient use of Crypto++, you need to be acquainted with the Filter class, as well as derived classes such as StringSource, StringSink, FileSource and FileSink (declared in files.h). filters.h可能是第二位重要的头文件。有大量的类是从过滤类继承而来,其中特别有用的是BufferedTransformation,因为它的attachment功能。为了实现优雅和有效的使用Crypto++,你需要熟悉过滤类,和其派生类,比如:StringSource、StringSink、FileSource和FileSink(在files.h头文件里声明)

oids.h

Defines specific object identifiers (OIDs) that are needed by or can be used on various classes throughout the library.定义具体的对象标识(OID),贯穿整个库的不同类需要它,也有可能用到它。

files.h

Defines classes FileStore, FileSource and FileSink (derived from Store, Source and Sink).定义类FileStore、FileSource和FileSink(分别从Store、Source和Sink派生)

network.h

Defines base classes NonblockingSource, NonblockingSink; base classes NetworkReceiver, NetworkSender; and finally, NetworkSource and NetworkSink.定义基类NonblockingSource和NonblockingSink;基类NetworkReceiver、NetworkSender;最终还有NetworkSource和NetworkSink。

socketft.h

Encapsulates network sockets and provides Crypto++ source and sink classes for them. The following types are defined: Socket, SocketSource, SocketSink. Support for Berkeley-style as well as Windows-style sockets is provided.封装网络socket和提供socket相关的Crypto++源及汇类。下面的类型被定义:Socket、 SocketSource,和SocketSink,这些类支持Berkeley风格也支持Windows风格。

友情链接
版权所有 Copyright(c)2004-2024 锐英源软件
统一社会信用代码:91410105098562502G 豫ICP备08007559号 最佳分辨率 1440*900
地址:郑州市金水区文化路97号郑州大学北区院内南门附近