List of all members.
Classes |
struct | State |
Public Member Functions |
| SHA256 () |
SHA256 & | update (const std::vector< unsigned char > &data) |
std::vector< unsigned char > | getHash () const |
ByteArray | operator() (const SafeByteArray &data) |
ByteArray | operator() (const ByteArray &data) |
Static Public Member Functions |
static ByteArray | getHash (const ByteArray &data) |
| Equivalent of: SHA256().update(data),getHash(), but slightly more efficient and convenient.
|
static ByteArray | getHash (const SafeByteArray &data) |
Detailed Description
Definition at line 17 of file SHA256.h.
Constructor & Destructor Documentation
Swift::SHA256::SHA256 |
( |
|
) |
|
Member Function Documentation
std::vector<unsigned char> Swift::SHA256::getHash |
( |
|
) |
const |
static ByteArray Swift::SHA256::getHash |
( |
const SafeByteArray & |
data |
) |
[static] |
static ByteArray Swift::SHA256::getHash |
( |
const ByteArray & |
data |
) |
[static] |
Equivalent of: SHA256().update(data),getHash(), but slightly more efficient and convenient.
ByteArray Swift::SHA256::operator() |
( |
const ByteArray & |
data |
) |
[inline] |
ByteArray Swift::SHA256::operator() |
( |
const SafeByteArray & |
data |
) |
[inline] |
SHA256& Swift::SHA256::update |
( |
const std::vector< unsigned char > & |
data |
) |
|