pgphex.h

来自「PGP—Pretty Good Privacy」· C头文件 代码 · 共 40 行

H
40
字号
/*____________________________________________________________________________
	Copyright (C) 1997 Network Associates Inc. and affiliated companies.
	All rights reserved.

	$Id: pgpHex.h,v 1.2 1999/03/10 02:51:40 heller Exp $
____________________________________________________________________________*/
#ifndef Included_pgpHex_h	/* [ */
#define Included_pgpHex_h

#include "pgpBase.h"

PGP_BEGIN_C_DECLARATIONS


PGPBoolean	pgpIsValidHexChar( char	theChar );

PGPByte		pgpHexCharToNibble( char nibble );

void		pgpBytesToHex( PGPByte const * keyBytes,
				PGPSize	numBytes, PGPBoolean add0x, char *outString );

void		pgpHexToBytes( const char * hex,
				PGPUInt32 numBinaryBytes, PGPByte * buffer );

PGPUInt32	pgpHexToPGPUInt32( const char *hex );
	
PGP_END_C_DECLARATIONS

#endif /* ] Included_pgpHex_h */


/*__Editor_settings____

	Local Variables:
	tab-width: 4
	End:
	vi: ts=4 sw=4
	vim: si
_____________________*/

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?