mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2024-11-14 04:57:21 +01:00
21 lines
321 B
C++
21 lines
321 B
C++
#include "sha256.h"
|
|
|
|
SHA256::SHA256() {
|
|
|
|
}
|
|
|
|
SHA256::~SHA256() {
|
|
|
|
}
|
|
|
|
SHA256 *SHA256::get() {
|
|
if (_sha_256_creation_func == nullptr) {
|
|
printf("Error: static SHA256 *get(): creation_func == nullptr\n");
|
|
return nullptr;
|
|
}
|
|
|
|
return _sha_256_creation_func();
|
|
}
|
|
|
|
SHA256 *(*SHA256::_sha_256_creation_func)(void) = nullptr;
|