yosys-master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
sha1.h File Reference
#include <iostream>
#include <string>
#include <stdint.h>
+ Include dependency graph for sha1.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  SHA1
 

Functions

std::string sha1 (const std::string &string)
 

Function Documentation

std::string sha1 ( const std::string &  string)

Definition at line 270 of file sha1.cpp.

271 {
272  SHA1 checksum;
273  checksum.update(string);
274  return checksum.final();
275 }
Definition: sha1.h:28
std::string final()
Definition: sha1.cpp:69
void update(const std::string &s)
Definition: sha1.cpp:42

+ Here is the call graph for this function:

+ Here is the caller graph for this function: