Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
.Net VCL for Delphi 1.0.0.0
ASP. NET C# PDF Software 4.5
LinqConnect Professional 4.8
CAD VCL: 2D/3D CAD in Delphi/C++Builder 14
wolfSSL 3.15.7
CAD DLL 14
AnyStock Stock and Financial JS Charts 8.4.2
ODBC Driver for SQLite 2.4
dotConnect for SugarCRM 1.7
dbForge SQL Complete 5.9
dbForge Studio for MySQL 8.0
.Net Runtime Library for Delphi 6.0.4.0
Scimbo 1.64
AnyMap JS Maps 8.4.2
GetOrgChart 2.5.3
Top Code
RED SNAKE GAME 1.1
PDF Focus .Net 4.0.1
Ticket Booking System 1.0
Network-Integrated Multimedia Middleware 2.2.0
Simple Webinterface Shopsystem for Shopping Carts 0.4
College Management System Script 1.0.4
Zip Zag 1.4
VisualEffectMotion Script 1.1
.NET Interop for Visual FoxPro Applications
Vapor compression cycle component models 1.0
Helpdeskphp - PHP Help Desk Software 1.0
Simple Skin segmentation 1.0
Visual FoxPro Functions/Class Libary 100
Dream Inspector 4.01
Help Desk Reloaded Free MySql PHP help desk software II.80
Top Rated
Deals and Discounts Website Script 1.0.2
ADO.NET Provider for ExactTarget 1.0
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Availability Booking Calendar PHP 1.0
PHP GZ Blog Script 1.1
ATN Jobs Software 4.0
ATN Mall 2.0
WeBuilder 2015 13.3
PHP Digital Download Script 1.0.4
String2Hash 1.0
File ID: 84932






String2Hash 1.0
Download String2Hash 1.0http://www.mathworks.com/Report Error Link
License: Shareware
File Size: 10.0 KB
Downloads: 2
Submit Rating:
String2Hash 1.0 Description
Description: This function generates a hash value from a text string

hash=string2hash(str,type);

inputs,
str : The text string, or array with text strings.
outputs,
hash : The hash value, integer value between 0 and 2^32-1
type : Type of has 'djb2' (default) or 'sdbm'

From c-code on : http://www.cse.yorku.ca/~oz/hash.html

djb2
this algorithm was first reported by dan bernstein many years ago
in comp.lang.c

sdbm
this algorithm was created for sdbm (a public-domain reimplementation of
ndbm) database library. it was found to do well in scrambling bits,
causing better distribution of the keys and fewer splits. it also happens
to be a good general hashing function with good distribution.

example,

hash=string2hash('hello world');
disp(hash);

License: Shareware

Related: scrambling, causing, Found, Library, publicdomain, reimplementation, Database, Distribution, fewer

O/S:BSD, Linux, Solaris, Mac OS X

File Size: 10.0 KB

Downloads: 2



User Review for String2Hash
- required fields
     

Please enter text on the image