08-30-2002
Md5
Does anyone know a scipt that includes MD5. I need to run a script that includes MD5 encryption.
Thanks
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Dear Guys ,
Am sorry i ask alot , but i do not know that much about perl , cgi , MD5 !
now i installed MD5 and Digest MD5 to my solaries 7 sparc machine .
when i execute the command :
$perl Makefile.PL
i get the follwoing error message ,, please tell me how to fix it , i need... (11 Replies)
Discussion started by: tamemi
11 Replies
2. UNIX for Dummies Questions & Answers
Hi,
how can one find that which encryption algorithm the system is using for keeping the user password in the /etc/passwd or /etc/shadow file.
Is it
1: Hashing ( which considers only first 5 letters of password)
2: MD5 (Which allows arbitry length passwords)
Thanks,
~amit (0 Replies)
Discussion started by: amit4g
0 Replies
3. UNIX for Dummies Questions & Answers
I think it's a problem of gtar, but i'm note sure...
I use gtar to create an archive from a directory
then i use md5 to get an md5 string for the archive
bzip2 to compress the archive
and md5 again for the compressed archive.
I send the file to my backup machine.
When i download the... (1 Reply)
Discussion started by: noratx
1 Replies
4. 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
5. 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
6. 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
7. 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
8. 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
9. Solaris
Hi Guys,
I have about MD5 checksum so many times but I can't figure out how to use it. Can someone please show me how to perform an MD5 checksum?
Thanks a lot guys. (1 Reply)
Discussion started by: cjashu
1 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 MOJAVE
md5crypt
md5crypt(n) MD5-based password encryption md5crypt(n)
__________________________________________________________________________________________________________________________________________________
NAME
md5crypt - MD5-based password encryption
SYNOPSIS
package require Tcl 8.2
package require md5 2.0
package require md5crypt ?1.1.0?
::md5crypt::md5crypt password salt
::md5crypt::aprcrypt password salt
::md5crypt::salt ?length?
_________________________________________________________________
DESCRIPTION
This package provides an implementation of the MD5-crypt password encryption algorithm as pioneered by FreeBSD and currently in use as a
replacement for the unix crypt(3) function in many modern systems. An implementation of the closely related Apache MD5-crypt is also avail-
able. The output of these commands are compatible with the BSD and OpenSSL implementation of md5crypt and the Apache 2 htpasswd program.
COMMANDS
::md5crypt::md5crypt password salt
Generate a BSD compatible md5-encoded password hash from the plaintext password and a random salt (see SALT).
::md5crypt::aprcrypt password salt
Generate an Apache compatible md5-encoded password hash from the plaintext password and a random salt (see SALT).
::md5crypt::salt ?length?
Generate a random salt string suitable for use with the md5crypt and aprcrypt commands.
SALT
The salt passed to either of the encryption schemes implemented here is checked to see if it begins with the encryption scheme magic string
(either "$1$" for MD5-crypt or "$apr1$" for Apache crypt). If so, this is removed. The remaining characters up to the next $ and up to a
maximum of 8 characters are then used as the salt. The salt text should probably be restricted the set of ASCII alphanumeric characters
plus "./" (dot and forward-slash) - this is to preserve maximum compatability with the unix password file format.
If a password is being generated rather than checked from a password file then the salt command may be used to generate a random salt.
EXAMPLES
% md5crypt::md5crypt password 01234567
$1$01234567$b5lh2mHyD2PdJjFfALlEz1
% md5crypt::aprcrypt password 01234567
$apr1$01234567$IXBaQywhAhc0d75ZbaSDp/
% md5crypt::md5crypt password [md5crypt::salt]
$1$dFmvyRmO$T.V3OmzqeEf3hqJp2WFcb.
BUGS, IDEAS, FEEDBACK
This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such in the category md5crypt
of the Tcllib SF Trackers [http://sourceforge.net/tracker/?group_id=12883]. Please also report any ideas for enhancements you may have for
either package and/or documentation.
SEE ALSO
md5
KEYWORDS
hashing, md5, md5crypt, message-digest, security
CATEGORY
Hashes, checksums, and encryption
COPYRIGHT
Copyright (c) 2003, Pat Thoyts <patthoyts@users.sourceforge.net>
md5crypt 1.1.0 md5crypt(n)