📄 usha1.hpp
字号:
// Borland C++ Builder
// Copyright (c) 1995, 2002 by Borland Software Corporation
// All rights reserved
// (DO NOT EDIT: machine generated header) 'uSha1.pas' rev: 6.00
#ifndef uSha1HPP
#define uSha1HPP
#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <uTools.hpp> // Pascal unit
#include <SysUtils.hpp> // Pascal unit
#include <SysInit.hpp> // Pascal unit
#include <System.hpp> // Pascal unit
//-- user supplied -----------------------------------------------------------
namespace Usha1
{
//-- type declarations -------------------------------------------------------
typedef Byte TSHA1Digest[20];
typedef Byte *PSHA1Digest;
#pragma pack(push, 4)
struct TSHA1Context
{
unsigned Hash[5];
int Hi;
int Lo;
Byte Buffer[64];
int Index;
} ;
#pragma pack(pop)
//-- var, const, procedure ---------------------------------------------------
extern PACKAGE bool __fastcall SHA1SelfTest(void);
extern PACKAGE void __fastcall SHA1Init(TSHA1Context &Context);
extern PACKAGE void __fastcall SHA1Update(TSHA1Context &Context, void * Buffer, int Len);
extern PACKAGE void __fastcall SHA1Final(TSHA1Context &Context, Byte * Digest);
} /* namespace Usha1 */
using namespace Usha1;
#pragma option pop // -w-
#pragma option pop // -Vx
#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif // uSha1
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -