hdac SDK
SDK for hdac blockchain development
메인 페이지
관련된 페이지
네임스페이스
클래스
파일들
파일 목록
파일 멤버
crypto
include
crypto
sha1.h
1
// Copyright (c) 2014 The Bitcoin developers
2
// Distributed under the MIT software license, see the accompanying
3
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
5
#ifndef BITCOIN_CRYPTO_SHA1_H
6
#define BITCOIN_CRYPTO_SHA1_H
7
8
#include <stdint.h>
9
#include <stdlib.h>
10
11
#include "crypto_global.h"
12
14
class
CSHA1
15
{
16
private
:
17
uint32_t s[5];
18
unsigned
char
buf[64];
19
size_t
bytes;
20
21
public
:
22
static
const
size_t
OUTPUT_SIZE = 20;
23
24
CSHA1
();
25
CSHA1
& Write(
const
unsigned
char
* data,
size_t
len);
26
void
Finalize(
unsigned
char
hash[OUTPUT_SIZE]);
27
CSHA1
& Reset();
28
};
29
30
#endif // BITCOIN_CRYPTO_SHA1_H
CSHA1
Definition:
sha1.h:14
다음에 의해 생성됨 :
1.8.11