NAME

Razor::String - String manipulation functions for Vipul's Razor

VERSION

    $Revision: 1.6 $

DESCRIPTION

The module provides functions to manipulate various types of strings, including spam texts and protocol transactions.

FUNCTIONS

hash2str()
Constructs a service request from a perl hash. Razor service requests are modelled on HTTP GET requests. These requests are sent to razord who reconstructs the perl hash with the str2hash() function, that is also provided by this module.
hash()
Takes a message body and returns a signature. The signature is a SHA1 digest of the body text. All headers and the .sig line (if found) are stripped before computing the digest.

AUTHOR

Vipul Ved Prakash, <mail@vipul.net>