sha1

ldmud-3.4.1/doc/efun/sha1 · 530 B

From the archive ldmud-3.4.1.tar.gz

Download the archive   « Back to the archive contents

SYNOPSIS
        string sha1 (string arg)
        string sha1 (int  * arg)

DESCRIPTION
        Create and return a SHA1 message digest from <arg>.
        <arg> may be a string, or an array of numbers (each considered to
        be a character, ignoring all but the lowest byte).

EXAMPLES
        string s;

        s = sha1("Hello");
        s = sha1( ({ 'H', 'e', 'l', 'l', 'o' })

HISTORY
        Introduced in LDMud 3.3.523.
        LDMud 3.3.712 added number arrays as argument.

SEE ALSO
        crypt(E), md5(E), sha1(E)

Site Stats

Snippets: 1791
Codebases: 571