Home Man
Search
Today's Posts
Register

Linux & Unix Commands - Search Man Pages

RedHat 9 (Linux i386) - man page for sha1 (redhat section n)

sha1(n) 				    sha1 hash					  sha1(n)

NAME
       sha1 - Perform sha1 hashing

SYNOPSIS
       package require Tcl 8.2

       package require sha1 ?1.0.2?

       ::sha1::sha1 msg

       ::sha1::hmac key text

DESCRIPTION
       This package provides commands to compute a SHA1 digests of arbitrary messages.

COMMANDS
       ::sha1::sha1 msg
	      The  command takes a message and returns the SHA1 digest of this message as a hexa-
	      decimal string.

       ::sha1::hmac key text
	      The command takes a key string and a text and returns the hmac of the

EXAMPLES
       % sha1::sha1 "hello world"
       2aae6c35c94fcfb415dbe95f408b9ce91ee846ed

       % sha1::hmac "our little secret" "hello world"
       a7ed9d62819b9788e22171d9108a00c370104526

KEYWORDS
       sha1, hashing, security

sha1					      1.0.2					  sha1(n)


All times are GMT -4. The time now is 12:12 PM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
UNIX.COM Login
Username:
Password:  
Show Password