42 "%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x",
43 buf[0], buf[1], buf[2], buf[3], buf[4], buf[5], buf[6], buf[7],
44 buf[8], buf[9], buf[10], buf[11], buf[12], buf[13], buf[14],
47 return std::string (tmp, 32);
53 unsigned char buf[16];
55 md5_buffer (str.data (), str.length (), buf);
65 FILE *ifile = gnulib::fopen (file.c_str (),
"rb");
69 unsigned char buf[16];
71 int errflag = md5_stream (ifile, buf);
73 gnulib::fclose (ifile);
liboctave_error_handler current_liboctave_error_handler
std::string oct_md5(const std::string str)
std::string oct_md5_file(const std::string file)
static std::string oct_md5_result_to_str(const unsigned char *buf)