Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
35 views

crack, Different passwords produce the same HASH

i have a hard time understanding the crypt function and since there aren't any technical details of how it works out there, i tested it and i observed that it is producing the same hash for different ...
Foudouki's user avatar
1 vote
0 answers
64 views

CS50, pset2, crack, suggested dictionary file

I am taking cs50 on edx and I am currently on pset2, crack. I want to find a dictionary file that has a fair (maybe over 50,000?) amount of words in it to encrypt and compare them with the hashed ...
Elena Kalema's user avatar
1 vote
1 answer
249 views

SPEED: python vs C crack program

I have implemented a python and c version of crack way back from problem set 2. Both of them work, and both use the same algorithms/processing just expressed in two different languages. Out of ...
faelesterio's user avatar
1 vote
2 answers
219 views

Easiest method to organize code

I'm just finished the entire cs50 course (yay), except the final project, and I'm ready to start submitting all of my psets. Before I submit, I'm going to proofread all my code and simplify/style it ...
Jason_V's user avatar
  • 182
0 votes
2 answers
1k views

Segmentation fault: cannot replace character in string

string increment(string s, int loc) { char c = s[loc]; c += 1; s[loc] = c; return s; } increment("A", 0); returns Segmentation fault at s[loc]=c;and I have no idea why. Is there a specific ...
circlemaze's user avatar
2 votes
1 answer
2k views

Passwords Et Cetera, Problem Set 2: Crypto. Walkthrough

I'm wondering how can I do this pset without doing the fist thing that comes to mind when reading this pset. From Itsa Mario to this there is a really big jump. Please talk me about crypt and file I/O ...
user avatar
2 votes
1 answer
1k views

What's the purpose of the 'salt' string? Isn't it contained in the hashed string anyway?

When checking the manual entry for man crypt, I read: The returned value points to the encrypted password, a series of 13 printable ASCII characters (the first two characters represent the salt ...
abelinux's user avatar
  • 1,170