Heray-Was-Here
Server : Apache
System : Linux vps103298.mylogin.co 4.18.0-513.11.1.el8_9.x86_64 #1 SMP Wed Jan 17 02:00:40 EST 2024 x86_64
User : calvet ( 273824)
PHP Version : 7.4.33
Disable Function : NONE
Directory :  /usr/share/doc/perl-Crypt-SmbHash/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/share/doc/perl-Crypt-SmbHash/README
Crypt/SmbHash version 0.01
==========================

This module provides functions to generate LM/NT hashes used in Samba's
'password' files, like smbpasswd.

The module is written entirely in perl, so it's a slower implementation
that if it was written in C, its easily ported and installed.

Example use:

   use Crypt::SmbHash;
   ntlmgen $ARGV[0], $lm, $nt;
   print "root:0:${lm}:${nt}:[U          ]:LCT-35463AFF\n";

INSTALLATION

To install this module type the following:

   perl Makefile.PL
   make
   make test
   make install

DEPENDENCIES

This module should work out-of-the-box, although only tested with
perl 5.005 and perl 5.6.1

The generation of NT hashes requires an md4 algorithm, and although
Crypt::SmbHash has it's own version of md4 hashing, things are alot
faster if Digest::MD4 is installed aswell. Crypt::SmbHash will
automatically use Digest::MD4 if it detects that Digest::MD4 is
installed.

COPYRIGHT AND LICENCE

Copyright (C) 2001 Benjamin Kuit <bj@it.uts.edu.au>
Ported from Samba.
Samba is Copyright (C) Andrew Tridgell 1997-1998


Hry