sha256.h
来自「linux下完成任意文件的AES加密. 口令可变,加密稳定迅速.」· C头文件 代码 · 共 25 行
H
25 行
#ifndef _SHA256_H#define _SHA256_H#ifndef uint8#define uint8 unsigned char#endif#ifndef uint32#define uint32 unsigned long int#endiftypedef struct{ uint32 total[2]; uint32 state[8]; uint8 buffer[64];}sha256_context;void sha256_starts( sha256_context *ctx );void sha256_update( sha256_context *ctx, uint8 *input, uint32 length );void sha256_finish( sha256_context *ctx, uint8 digest[32] );#endif /* sha256.h */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?