<?xml version="1.0" encoding="UTF-8"?>
<!--
 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
 * Copyright (C) 2008 - INRIA
 * ...
 *
 * Copyright (C) 2012 - 2016 - Scilab Enterprises
 *
 * This file is hereby licensed under the terms of the GNU GPL v2.0,
 * pursuant to article 5.3.4 of the CeCILL v.2.1.
 * This file was originally licensed under the terms of the CeCILL v2.1,
 * and continues to be available under such terms.
 * For more information, see the COPYING file which you should have received
 * along with this program.
 *
 -->
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ru" xml:id="getmd5">
    <refnamediv>
        <refname>getmd5</refname>
        <refpurpose>получение контрольной суммы md5</refpurpose>
    </refnamediv>
    <refsynopsisdiv>
        <title>Синтаксис</title>
        <synopsis>
            res=getmd5(filename)
            res=getmd5(ParamString,'string')
        </synopsis>
    </refsynopsisdiv>
    <refsection>
        <title>Аргументы</title>
        <variablelist>
            <varlistentry>
                <term>res</term>
                <listitem>
                    <para>результат, контрольная сумма md5 (строка)</para>
                </listitem>
            </varlistentry>
            <varlistentry>
                <term>filename</term>
                <listitem>
                    <para>имя файла (строка или матрица строк)</para>
                </listitem>
            </varlistentry>
            <varlistentry>
                <term>ParamString</term>
                <listitem>
                    <para>строка или матрица строк</para>
                </listitem>
            </varlistentry>
        </variablelist>
    </refsection>
    <refsection>
        <title>Описание</title>
        <para>
            Функция <function>getmd5</function> получает контрольную сумму md5 файла <varname>filename</varname> или строки <varname>ParamString</varname>.
        </para>
    </refsection>
    <refsection>
        <title>Примеры</title>
        <programlisting role="example"><![CDATA[
getmd5('Привет, мир!','string')
getmd5(['Привет,' 'мир!'],'string')
getmd5(['Привет,' ; 'мир!'],'string')

getmd5( SCI+'/modules/core/etc/core.start' )
getmd5( SCI+'/modules/core/etc/'+['core.start' 'core.quit'])
 ]]></programlisting>
    </refsection>
</refentry>
