Typedefs | |
typedef void *() | hash_fptr(const char *buffer, size_t len, void *res) |
Functions | |
std::string | hash (const std::string &hash_type, const std::string &str) |
std::string | hash (hash_fptr hash_fcn, const std::string &str, int result_buf_len) |
int | md2_digest_size (void) |
std::string | md2_hash (const std::string &str) |
int | md4_digest_size (void) |
std::string | md4_hash (const std::string &str) |
int | md5_digest_size (void) |
std::string | md5_hash (const std::string &str) |
int | sha1_digest_size (void) |
std::string | sha1_hash (const std::string &str) |
int | sha224_digest_size (void) |
std::string | sha224_hash (const std::string &str) |
int | sha256_digest_size (void) |
std::string | sha256_hash (const std::string &str) |
int | sha384_digest_size (void) |
std::string | sha384_hash (const std::string &str) |
int | sha512_digest_size (void) |
std::string | sha512_hash (const std::string &str) |
typedef void*() octave::crypto::hash_fptr(const char *buffer, size_t len, void *res) |
std::string octave::crypto::hash | ( | const std::string & | hash_type, |
const std::string & | str | ||
) |
Definition at line 118 of file lo-hash.cc.
References current_liboctave_error_handler, md2_hash(), md4_hash(), md5_hash(), sha1_hash(), sha224_hash(), sha256_hash(), sha384_hash(), sha512_hash(), and transform().
std::string octave::crypto::hash | ( | hash_fptr | hash_fcn, |
const std::string & | str, | ||
int | result_buf_len | ||
) |
Definition at line 45 of file lo-hash.cc.
References OCTAVE_LOCAL_BUFFER.
Referenced by ExtendedCharTable::createExtendedChar(), ExtendedCharTable::extendedCharHash(), ExtendedCharTable::extendedCharMatch(), Fhash(), octave::sys::get_ASCII_filename(), ExtendedCharTable::lookupExtendedChar(), md2_hash(), md4_hash(), md5_hash(), sha1_hash(), sha224_hash(), sha256_hash(), sha384_hash(), and sha512_hash().
int octave::crypto::md2_digest_size | ( | void | ) |
Definition at line 60 of file lo-hash.cc.
References octave_md2_digest_size().
Referenced by md2_hash().
std::string octave::crypto::md2_hash | ( | const std::string & | str | ) |
Definition at line 70 of file lo-hash.cc.
References hash(), md2_digest_size(), and octave_md2_buffer_wrapper().
Referenced by hash().
int octave::crypto::md4_digest_size | ( | void | ) |
Definition at line 61 of file lo-hash.cc.
References octave_md4_digest_size().
Referenced by md4_hash().
std::string octave::crypto::md4_hash | ( | const std::string & | str | ) |
Definition at line 76 of file lo-hash.cc.
References hash(), md4_digest_size(), and octave_md4_buffer_wrapper().
Referenced by hash().
int octave::crypto::md5_digest_size | ( | void | ) |
Definition at line 62 of file lo-hash.cc.
References octave_md5_digest_size().
Referenced by md5_hash().
std::string octave::crypto::md5_hash | ( | const std::string & | str | ) |
Definition at line 82 of file lo-hash.cc.
References hash(), md5_digest_size(), and octave_md5_buffer_wrapper().
Referenced by hash().
int octave::crypto::sha1_digest_size | ( | void | ) |
Definition at line 63 of file lo-hash.cc.
References octave_sha1_digest_size().
Referenced by sha1_hash().
std::string octave::crypto::sha1_hash | ( | const std::string & | str | ) |
Definition at line 88 of file lo-hash.cc.
References hash(), octave_sha1_buffer_wrapper(), and sha1_digest_size().
Referenced by hash().
int octave::crypto::sha224_digest_size | ( | void | ) |
Definition at line 64 of file lo-hash.cc.
References octave_sha224_digest_size().
Referenced by sha224_hash().
std::string octave::crypto::sha224_hash | ( | const std::string & | str | ) |
Definition at line 94 of file lo-hash.cc.
References hash(), octave_sha224_buffer_wrapper(), and sha224_digest_size().
Referenced by hash().
int octave::crypto::sha256_digest_size | ( | void | ) |
Definition at line 65 of file lo-hash.cc.
References octave_sha256_digest_size().
Referenced by sha256_hash().
std::string octave::crypto::sha256_hash | ( | const std::string & | str | ) |
Definition at line 100 of file lo-hash.cc.
References hash(), octave_sha256_buffer_wrapper(), and sha256_digest_size().
Referenced by hash().
int octave::crypto::sha384_digest_size | ( | void | ) |
Definition at line 66 of file lo-hash.cc.
References octave_sha384_digest_size().
Referenced by sha384_hash().
std::string octave::crypto::sha384_hash | ( | const std::string & | str | ) |
Definition at line 106 of file lo-hash.cc.
References hash(), octave_sha384_buffer_wrapper(), and sha384_digest_size().
Referenced by hash().
int octave::crypto::sha512_digest_size | ( | void | ) |
Definition at line 67 of file lo-hash.cc.
References octave_sha512_digest_size().
Referenced by sha512_hash().
std::string octave::crypto::sha512_hash | ( | const std::string & | str | ) |
Definition at line 112 of file lo-hash.cc.
References hash(), octave_sha512_buffer_wrapper(), and sha512_digest_size().
Referenced by hash().