#ifndef _SHA256__H_ #define _SHA256__H_ #ifdef _MSC_VER # define uint64_t unsigned __int64 # define uint32_t unsigned __int32 # define uint16_t unsigned __int16 # define uint8_t unsigned __int8 #else # include #endif typedef uint8_t sha256_hash[32]; uint32_t *sha256( uint8_t *hash, uint8_t *buffer, int length ); #endif