GNU Octave  4.4.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
hash.cc File Reference
#include <string>
#include "lo-hash.h"
#include "defun.h"
#include "error.h"
#include "ov.h"
#include "ovl.h"
Include dependency graph for hash.cc:

Go to the source code of this file.

Functions

return ovl (octave::crypto::hash(hash_type, str))
 

Variables

OCTAVE_EXPORT octave_value_list Fhash(const octave_value_list &args, int) the SHA-1 hash value is calculated with nd group nd example nd deftypefn *std::string hash_type = args(0).string_value ()
 
std::string str = args(1).string_value ()
 

Function Documentation

◆ ovl()

return ovl ( octave::crypto::hash(hash_type, str )

Variable Documentation

◆ hash_type

OCTAVE_EXPORT octave_value_list Fhash (const octave_value_list& args , int ) the SHA-1 hash value is calculated with nd group nd example nd deftypefn* std::string hash_type = args(0).string_value ()

Definition at line 117 of file hash.cc.

Referenced by octave::crypto::hash().

◆ str

std::string str = args(1).string_value ()

Definition at line 118 of file hash.cc.

Referenced by octave::base64_decode(), QtHandles::ButtonControl::ButtonControl(), color_values::color_values(), contains_char(), TerminalView::drawLineCharString(), octave::base_ve_model::edit_display(), octave::numeric_model::edit_display(), octave::string_model::edit_display(), octave::struct_model::edit_display(), octave::base_ve_model::edit_display_sub(), annotation_dialog::edit_string_changed(), F__octave_link_file_dialog__(), octave::sys::fnmatch(), Fspparms(), octave::text_renderer::string::get_string(), Gfftw(), Gqr(), Gsymbfact(), octave::crypto::hash(), octave::sys::strptime::init(), octave::curl_transfer::list(), octave_char_matrix_str::load_hdf5(), glob_match::match(), max_str_len(), octave::crypto::md2_hash(), octave::crypto::md4_hash(), octave::crypto::md5_hash(), octave::tree::meets_bp_condition(), mxArray_number::mxArray_number(), mxCreateCharMatrixFromStrings(), mxCreateString(), numel(), octave_putenv_wrapper(), octave_strdup_wrapper(), octregexp(), octave::text_renderer::string::operator=(), parse_options(), parse_save_options(), symbol_info_list::parse_whos_line_format(), octave::history_dock_widget::pasteClipboard(), octave::files_dock_widget::pasteClipboard(), octave::main_window::pasteClipboard(), read_mat5_binary_element(), octave::workspace_view::relay_contextmenu_command(), octave_fcn_handle::set_fcn(), octave::text_renderer::string::set_string(), octave::base_ve_model::set_update_pending(), octave::variable_editor_model::set_update_pending(), octave::crypto::sha1_hash(), octave::crypto::sha224_hash(), octave::crypto::sha256_hash(), octave::crypto::sha384_hash(), octave::crypto::sha512_hash(), str2double1(), color_values::str2rgb(), oct_data_conv::string_to_data_type(), text_element_string::string_value(), strip_spaces(), strlen(), octave::sys::strptime::strptime(), mxArray::strsave(), QtHandles::ButtonControl::update(), octave::ft_text_renderer::visit(), and Vt102Emulation::XtermHack().