LLVM: llvm::SHA1 Class Reference (original) (raw)
A class that wrap the SHA1 algorithm. More...
#include "[llvm/Support/SHA1.h](SHA1%5F8h%5Fsource.html)"
| Public Member Functions | |
|---|---|
| SHA1 () | |
| LLVM_ABI void | init () |
| Reinitialize the internal state. | |
| LLVM_ABI void | update (ArrayRef< uint8_t > Data) |
| Digest more data. | |
| LLVM_ABI void | update (StringRef Str) |
| Digest more data. | |
| LLVM_ABI std::array< uint8_t, 20 > | final () |
| Return the current raw 160-bits SHA1 for the digested data since the last call to init(). | |
| LLVM_ABI std::array< uint8_t, 20 > | result () |
| Return the current raw 160-bits SHA1 for the digested data since the last call to init(). |
A class that wrap the SHA1 algorithm.
Definition at line 27 of file SHA1.h.
| llvm::SHA1::SHA1 ( ) | inline |
|---|
◆ final()
| std::array< uint8_t, 20 > SHA1::final | ( | ) |
|---|
Return the current raw 160-bits SHA1 for the digested data since the last call to init().
This call will add data to the internal state and as such is not suited for getting an intermediate result (see result()).
Definition at line 278 of file SHA1.cpp.
Referenced by hash().
◆ hash()
◆ init()
◆ result()
| std::array< uint8_t, 20 > SHA1::result | ( | ) |
|---|
◆ update() [1/2]
◆ update() [2/2]
◆ [union]
union { ... } llvm::SHA1::Buffer
◆ BufferOffset
◆ ByteCount
◆ C
uint8_t llvm::SHA1::C[BLOCK_LENGTH]
◆ L
◆ State
The documentation for this class was generated from the following files: