diff --git a/sha256.h b/sha256.h index 7123a30..8e5a97e 100644 --- a/sha256.h +++ b/sha256.h @@ -30,5 +30,6 @@ typedef struct { void sha256_init(SHA256_CTX *ctx); void sha256_update(SHA256_CTX *ctx, const BYTE data[], size_t len); void sha256_final(SHA256_CTX *ctx, BYTE hash[]); +void sha256(BYTE hash[],BYTE data[],size_t len); #endif // SHA256_H