Concord - C Discord API library
A Discord API wrapper library written in C
sha1.h File Reference
#include "stdint.h"
Include dependency graph for sha1.h:

Go to the source code of this file.

Data Structures

struct  SHA1_CTX
 

Functions

void SHA1Transform (uint32_t state[5], const unsigned char buffer[64])
 
void SHA1Init (SHA1_CTX *context)
 
void SHA1Update (SHA1_CTX *context, const unsigned char *data, uint32_t len)
 
void SHA1Final (unsigned char digest[20], SHA1_CTX *context)
 
void SHA1 (char *hash_out, const char *str, int len)
 

Function Documentation

◆ SHA1Transform()

void SHA1Transform ( uint32_t  state[5],
const unsigned char  buffer[64] 
)

◆ SHA1Init()

void SHA1Init ( SHA1_CTX context)

◆ SHA1Update()

void SHA1Update ( SHA1_CTX context,
const unsigned char *  data,
uint32_t  len 
)

◆ SHA1Final()

void SHA1Final ( unsigned char  digest[20],
SHA1_CTX context 
)

◆ SHA1()

void SHA1 ( char *  hash_out,
const char *  str,
int  len 
)