Thanks Razzak,

Scott

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of A. Razzak
Memon
Sent: Tuesday, September 27, 2011 9:39 AM
To: RBASE-L Mailing List
Subject: [RBASE-L] - [RBASE-L] MD-5 hash

At 10:09 AM 9/27/2011, Scott Sherer wrote:

>Hi everyone,
>
>I need to create an md5 hash in rbase. Does anyone know of a way to do
this?


Scott,

Here' show:

-- Using R:BASE eXtreme 9.1 or 9.5 Plugin Power Pack:

Syntax:

PLUGIN RHASH vResult|Parameters

The RHASH Plugin is used to generate a hash value based upon a
provided string value or file and specified hash function. The
hash value (also called a "message digest" or a "checksum") is
  a sort of "digital fingerprint" of the string/document. The
resulting fixed-size hash value is a concise representation of
the string or file from which it was computed. The different
hash functions can be used for a variety of computational
purposes, including cryptography. Even small changes in the
source input drastically change the resulting output, also
known as Avalanche effect.

Parameters:

Parameters      Value   Description
VALUE           value   specifies the string value
FILE            value   specifies the file name
TYPE            value   specifies the hash function. Refer to

Available Functions table below.

OUTPUT_FORMAT   COPY - One to One binary (input = output)
HEX - Hexadecimal
HEXL - Hexadecimal lowercase
MIME64 - MIME Base 64
UU - UU Coding
XX - XX Coding

Examples:

-- Example 01:
    PLUGIN RHASH vResult1|VALUE This is my text value +
    |TYPE HAVAL192|OUTPUT_FORMAT HEX

    R> SHOW VAR vResult1 =50
    E72D0B4805EB2DDFF3535D4CA1D79A1D5D3B950B0B128161

-- Example 02:
   PLUGIN RHASH vResult2|FILE C:\RBTI\RBG76\RBG76.EXE +
   |TYPE RMD256|OUTPUT_FORMAT MIME64

   R> SHOW VAR vResult2 =60
   PdKaO14SMFdZHB14WFgspkuucZz6fNL+PWWe2NZdv0U=

-- Example 03:
   PLUGIN RHASH vResult3|FILE C:\RBTI\RBG8\RBG8.EXE +
   |TYPE SAPPHIRE320|OUTPUT_FORMAT XX

   R> SHOW VAR vResult3 =60
   cptfnVVMnfmR6C4igQGehuIdUUt-c5+rsv2lgxh-XMIj0zMwb1CeXlk++

RHASH plugin is part R:BASE Plugin Power Pack 9.1
http://www.rbase.com/products/pluginpowerpack91/

Very Best R:egards,

Razzak.


Reply via email to