Find Jobs
Hire Freelancers

Hash Comparision (by bits)

$30-100 USD

Completed
Posted over 20 years ago

$30-100 USD

Paid on delivery
I have two hash values I want to compare. The hash value is always 104 characters long. Here is an example: Hash "1" 056908A30289F3ECED61F92E14532302114FE86AD052E4C6182F3D972BC2EC85B915C7000D9351094CD3FF4CABE5A1B8F1F55616 Hash "2" 056A08A30289F3ECED5FF92F145323011150E86AD052E4C6182F3D972BC1EC84B915C7010D9251094CD3FF4CABE5A1B9F1F45616 As you can see with a quick glance, certain values are different but the majority are the same. I already have a string comparision routine, and my string comparision routine shows that these two hash values are 87.5% alike. Now this is where I can get confusing and I may be totally wrong on the wording here. I want to have a value returned to me to tell me how many each of the "bits" are different from each other. I am calling each character in the hash value a "bit". For example here are the first 4 characters "bits" of Hash #1 and Hash #2. Hash #1: "0569" Hash #2: "056A" As you can see here, if I ran this through my string comparision routine, I would be told that the string is 75% alike. However, since we are dealing with "bits", the "9" and the "A" in the 4th character slot in the hash are almost equal. They are just 1 character off from each other. So this hash is not 75% similar, it is a lot more similar if we compare the bits (maybe 98%). I want this routine to work for all 104 characters of this hash. I want to know how similar the "COMPLETE" hashes are to each other when comparing all the bits, and not by just comparing a string to a string which I can already do. I want to compare each bit to each other and come up with a value that lets me know the following: 1 -Percent of hash that is the same 2 -Percent of hash that is different 3 -Number of bits that are the same 4 -Number of bits that are different An "example" of how the function (VB) should be called: Function CompHash(HashA, HashB, Results) HashA would be a string containg the first hash, HashB would be a string containing the second hash, and Results would be a number, either 1, 2, 3, or 4 based on the options I listed above. A function might look like this: Call CompHash("hash 1 example from above", "hash 2 example from above",1) And this would return this value (only a guess) 95 (for 95 percent the same if I passed option 1 to the function, which means I want to know the percentage of the hash bits that are the same). ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Complete ownership and distribution copyrights to all work purchased. ## Platform It must be a Visual Basic 6.0 public function and be compatible with Windows 95, 98, 98SE, Me, NT, 2000, and XP.
Project ID: 2974094

About the project

45 proposals
Remote project
Active 21 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
See private message.
$42.50 USD in 5 days
5.0 (36 reviews)
5.3
5.3
45 freelancers are bidding on average $23 USD for this job
User Avatar
See private message.
$17 USD in 5 days
5.0 (466 reviews)
7.6
7.6
User Avatar
See private message.
$5.95 USD in 5 days
5.0 (96 reviews)
6.6
6.6
User Avatar
See private message.
$21.25 USD in 5 days
4.9 (73 reviews)
6.7
6.7
User Avatar
See private message.
$17 USD in 5 days
5.0 (95 reviews)
5.8
5.8
User Avatar
See private message.
$17 USD in 5 days
4.8 (41 reviews)
6.2
6.2
User Avatar
See private message.
$16.99 USD in 5 days
5.0 (158 reviews)
6.0
6.0
User Avatar
See private message.
$42.50 USD in 5 days
4.6 (33 reviews)
5.4
5.4
User Avatar
See private message.
$8.50 USD in 5 days
4.8 (54 reviews)
5.1
5.1
User Avatar
See private message.
$11.05 USD in 5 days
5.0 (18 reviews)
4.6
4.6
User Avatar
See private message.
$34 USD in 5 days
4.7 (41 reviews)
4.7
4.7
User Avatar
See private message.
$63.75 USD in 5 days
4.1 (52 reviews)
5.0
5.0
User Avatar
See private message.
$21.25 USD in 5 days
4.9 (5 reviews)
3.6
3.6
User Avatar
See private message.
$76.50 USD in 5 days
4.7 (15 reviews)
3.8
3.8
User Avatar
See private message.
$6.80 USD in 5 days
5.0 (22 reviews)
3.7
3.7
User Avatar
See private message.
$17 USD in 5 days
3.4 (7 reviews)
4.1
4.1
User Avatar
See private message.
$17 USD in 5 days
5.0 (4 reviews)
2.8
2.8
User Avatar
See private message.
$8.50 USD in 5 days
5.0 (10 reviews)
2.4
2.4
User Avatar
See private message.
$85 USD in 5 days
5.0 (4 reviews)
2.3
2.3
User Avatar
See private message.
$17 USD in 5 days
4.6 (28 reviews)
2.6
2.6
User Avatar
See private message.
$25.50 USD in 5 days
5.0 (3 reviews)
2.4
2.4

About the client

Flag of UNITED STATES
Los Angeles, United States
5.0
20
Member since Aug 9, 2003

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.