加密算法
Test Driver for Crypto++, a C++ Class Library of Cryptographic Primitives:
- To generate an RSA key
cryptest g
- To encrypt and decrypt a string using RSA
cryptest r
- To calculate MD5, SHS, and RIPEMD-160 message digests:
cryptest m file
- To encrypt and decrypt a string using DES-EDE in CBC mode:
cryptest t
- To encrypt or decrypt a file
cryptest e|d input output
- To share a file into shadows:
cryptest s <pieces> <pieces-needed> file
(make sure file has no extension, if you re running this under DOS)
- To reconstruct a file from shadows:
cryptest j output file1 file2 [....]
- To gzip a file:
cryptest z <compression-level> input output
- To gunzip a file:
cryptest u input output
- To run validation tests:
cryptest v
- To run benchmarks:
cryptest b [time for each benchmark in seconds]
實(shí)現(xiàn)進(jìn)程的管道通信。用系統(tǒng)調(diào)用pipe( )建立一管道,二個(gè)子進(jìn)程P1和P2分別向管道各寫一句話:
Child 1 is sending a message!
Child 2 is sending a message!
父進(jìn)程從管道中讀出二個(gè)來(lái)自子進(jìn)程的信息并顯示(要求先接收P1,后P2)。
1、 了解系統(tǒng)調(diào)用pipe()的功能和實(shí)際原理
2、 編寫一段程序,使用管道實(shí)現(xiàn)父子進(jìn)程之間的通信
a) 使用系統(tǒng)調(diào)用fork()創(chuàng)建一個(gè)子進(jìn)程
b) 子進(jìn)程調(diào)用函數(shù)write()向父進(jìn)程發(fā)送自己的進(jìn)程ID和字符串” s sending a message to parent.\n”。
c) 父進(jìn)程調(diào)用函數(shù)read()通過管道讀出子進(jìn)程發(fā)來(lái)的消息,將消息輸出屏幕,然后終止
藍(lán)牙協(xié)議This specification describes the Audio/Video Control Transport Protocol (AVCTP), which is used to transport command and response messages for controlling Audio Video features in conformant devices. This protocol enables a device to support more than one control profile at the same time each supported profile shall define its own message formatting and/or usage rules.
EXAMPLE SOURCE CODE FOR IMPLIB FILTER
This filter accepts input through the standard input stream, convertsit and outputs it to the standard output am. The streams are linkedthrough pipes, such that the input stream is the output from the import librarian being invoked, and the output stream is connected to the message window of the IDE, ie.
EXAMPLE SOURCE CODE FOR TASM FILTER
his filter accepts input through the standard input stream, converts it and outputs it to the standard output stream. The streams are linked
through pipes, such that the input stream is the output from the assembler
being invoked, and the output stream is connected to the message window of the IDE, ie.
SQL Server 2005 Service Broker (SSB) is an asynchronous messaging technology built into SQL Server. With SSB, you essentially get the power of messaging technologies like Microsoft Message Queue (MSMQ) combined with the relational database capabilities of SQL Server, all controlled with Transact SQL statements
* This a simple tool to send/receive UDP packet based on a
* free software developed by Neil Deason.
* The purpose of program is to simulate a remote MGC So that the
* SIP Message debugging/testing is possible.
The Ntrip RTCM Multiclient "NtripRTCMMC" simultaneously reads a number of
real-time RTK data streams in RTCM 2.x format (basicly message types 18
and 19) as received from an Ntrip Broadcaster. It decodes the streams and
generates raw and RINEX files.