06-29-2003
hi guys ,
i executed the commnd env and got the following :
_=/usr/bin/env
HZ=100
PATH=/opt/SUNWseam/3_0/bin:/usr/sadm/bin:/usr/bin:/sbin:/etc:/usr/sbin:/usr/loca
l/bin:/usr/local/sbin:/usr/local:/usr/ccs/bin:/usr/openwin/bin:/opt/FSFgroff/bin
:/usr/opt/SUNWmd/sbin:.
EDITOR=vi
--------------------------
this is part of it , which include the path .
and i searched for libgdbm.so file and did not find it !!
thanks again
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Does anyone know a scipt that includes MD5. I need to run a script that includes MD5 encryption.
Thanks (1 Reply)
Discussion started by: duncang3
1 Replies
2. Linux
I am trying to compare two identical files by using md5 command, but cant get the right command parameters Please help me with any examples. All I want is to know how to compare two identical files which are residing on two different machines in my local network, for example:
Host_A -... (6 Replies)
Discussion started by: greenja
6 Replies
3. Shell Programming and Scripting
I am a newbie in programming in Perl.
My problem is that this unix command is embedded in Perl but it gives an empty output. Here's the code:
$temp = `md5 "../Directory String/..." | awk {'print $NF'} > "../Directory/file.txt"`;
The output file should contain the md5 hash value of the... (2 Replies)
Discussion started by: ianebaj
2 Replies
4. UNIX for Dummies Questions & Answers
Hi guys,
I need to anonymise some data; Some of it in an Oracle database and some in text files. I'm using the 'digest' command on Solaris 10 OS and an Oracle function to encode the data in the database. However, as a test, when i try to encode the same string in the dataabse ans OS, I get... (4 Replies)
Discussion started by: zaff
4 Replies
5. Shell Programming and Scripting
Hello everyone,
I am looking to basically creating md5sum files for all iso files in a directory and archive the resulting md5 files into a single archive in that very same directory.
I worked out a clumsy solution such as:
#find files for which md5sum are to be created and store the... (1 Reply)
Discussion started by: SurfTranquille
1 Replies
6. Shell Programming and Scripting
Hi, I tried to write script, which would be able to generate MD5 sums into txt file.. But It won't work.. (I've been trying to fix that over 4 hours, but nothing helps)
Here it is
#!/bin/bash
FILE="nothing1"
POST="nothing2"
I=1
while
do
FILE=`ls -ltR | grep "^-" | tr -s "... (1 Reply)
Discussion started by: TheBarnacle
1 Replies
7. Solaris
Hello good people,
I came across md5 checksum. Can anyone please explain to me what it does and if possible an example of how to use it?
Thank you very much (1 Reply)
Discussion started by: cjashu
1 Replies
8. Shell Programming and Scripting
I’m trying to use wget 1.13.4 from a command line to access a web page using Digest Authentication on a Tomcat server, and I keep getting HTTP/1.1 401 Unauthorized response. Below is my code and the response. Any suggestions would be appreciated.
wget --debug --server-response --user-agent=""... (5 Replies)
Discussion started by: mtarkowski
5 Replies
9. Red Hat
Hey, I've got a package that requires 'Digest:md5' to be installed but I can't locate a source for it from Redhat. Poking around on the internet I found some stuff that seemed to be for RHEL 6.4 but when I had yum try a local install it gives me this error.
Transaction Check Error:
file... (3 Replies)
Discussion started by: DustinT
3 Replies
10. Shell Programming and Scripting
I have about 1500 rows (encoded b64(b64(md5($pass))) algorythm) in a file.
I would like reverse the b64 into md5 hash format.
How could I do that from command line? So I need only the correct md5 hash formats.
These row format:
4G5qc2WQzGES6QkWAUgl5w
P9tKxonBOg3ymr8vOBLnDA... (1 Reply)
Discussion started by: freeroute
1 Replies
LEARN ABOUT OSX
digest::hmac
Digest::HMAC(3) User Contributed Perl Documentation Digest::HMAC(3)
NAME
Digest::HMAC - Keyed-Hashing for Message Authentication
SYNOPSIS
# Functional style
use Digest::HMAC qw(hmac hmac_hex);
$digest = hmac($data, $key, &myhash);
print hmac_hex($data, $key, &myhash);
# OO style
use Digest::HMAC;
$hmac = Digest::HMAC->new($key, "Digest::MyHash");
$hmac->add($data);
$hmac->addfile(*FILE);
$digest = $hmac->digest;
$digest = $hmac->hexdigest;
$digest = $hmac->b64digest;
DESCRIPTION
HMAC is used for message integrity checks between two parties that share a secret key, and works in combination with some other Digest
algorithm, usually MD5 or SHA-1. The HMAC mechanism is described in RFC 2104.
HMAC follow the common "Digest::" interface, but the constructor takes the secret key and the name of some other simple "Digest::" as
argument.
The hmac() and hmac_hex() functions and the Digest::HMAC->new() constructor takes an optional $blocksize argument as well. The HMAC
algorithm assumes the digester to hash by iterating a basic compression function on blocks of data and the $blocksize should match the
byte-length of such blocks.
The default $blocksize is 64 which is suitable for the MD5 and SHA-1 digest functions. For stronger algorithms the blocksize probably
needs to be increased.
SEE ALSO
Digest::HMAC_MD5, Digest::HMAC_SHA1
RFC 2104
AUTHORS
Graham Barr <gbarr@ti.com>, Gisle Aas <gisle@aas.no>
perl v5.16.2 2011-07-25 Digest::HMAC(3)