Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Ditto


  • Please log in to reply
19 replies to this topic

#1 Guest_hollowface_*

Guest_hollowface_*

  • Guests
  • OFFLINE
  •  

Posted 15 December 2015 - 02:02 AM

ojxsz0L.png
 
Ditto 0.349 Testing:
Ditto is an open-source hashing tool (Bash script) for GNU/Linux. It was built and tested on Ubuntu 14.04 Desktop AMD64 but if you install the dependencies listed in the "About.txt" file, you should be able to run it on most distros. It uses it's own hashing algorithm called ditto0. Future replacement algorithms will follow the numbering scheme. ditto0 is a work in progress, not considered secure at this point. Expect collisions! YOU HAVE BEEN WARNED. I doubt ditto0 or any future ditto algorthm will ever be viable or a competator. I'm just making this for fun, if it ends up working, cool.

Download Link:


Aside from posting releases here. I also may post download links for test list archives. These archives would contain a plain-text file that on each line has an SHA-512 checksum of a file, and then the full-length ditto0 checksum of the same file. The idea being that I can have a record of successful unique hashes to demostrate how BAD/good the algorthim is.

Just for fun, here are some outputs from tests

Test1:


example1@example:~$ bash ~/ditto/ditto-manager
Ditto 0.349 Testing
Ditto is a work in progress. ditto0 checksums are not considered secure yet. You have been warned.
Input file:/home/example1/test1
String length (eg: 100. Leave empty for full):
ditto0:full:11920815
example1@example:~$ bash ~/ditto/ditto-manager
Ditto 0.349 Testing
Ditto is a work in progress. ditto0 checksums are not considered secure yet. You have been warned.
Input file:/home/example1/test2
String length (eg: 100. Leave empty for full):
ditto0:full:7209145
example1@example:~$ cat test1
test
example1@example:~$ cat test2
tezt
example1@example:~$ 
Test2:
example1@example:~$ bash ~/ditto/ditto-manager
Ditto 0.349 Testing
Ditto is a work in progress. ditto0 checksums are not considered secure yet. You have been warned.
Input file:/home/example1/test1
String length (eg: 100. Leave empty for full):
ditto0:full:5548523044
example1@example:~$ bash ~/ditto/ditto-manager
Ditto 0.349 Testing
Ditto is a work in progress. ditto0 checksums are not considered secure yet. You have been warned.
Input file:/home/example1/test2
String length (eg: 100. Leave empty for full):
ditto0:full:6418487045
example1@example:~$ cat test1
The quick brown fox jumps over the lazy dog
example1@example:~$ cat test2
The quick brown fox jumps over the lazy dog.
example1@example:~$ 
Test3:
example1@example:~$ bash ~/ditto/ditto-manager
Ditto 0.349 Testing
Ditto is a work in progress. ditto0 checksums are not considered secure yet. You have been warned.
Input file:/home/example1/test1
String length (eg: 100. Leave empty for full):
ditto0:full:234455011
example1@example:~$ bash ~/ditto/ditto-manager
Ditto 0.349 Testing
Ditto is a work in progress. ditto0 checksums are not considered secure yet. You have been warned.
Input file:/home/example1/test2
String length (eg: 100. Leave empty for full):
ditto0:full:234876011
example1@example:~$ cat test1
5548523044
example1@example:~$ cat test2
5548523144
example1@example:~$ 

Edited by Al1000, 03 September 2016 - 12:16 AM.
delete download link


BC AdBot (Login to Remove)

 


#2 Guest_hollowface_*

Guest_hollowface_*

  • Guests
  • OFFLINE
  •  

Posted 16 December 2015 - 01:26 AM

Ditto 0.430 Testing:
In this release I've made changes to ditto0, so all previous ditto0 checksums are no longer valid. I've made so many changes and then had to undo them it's hard to remember what I started with at this point, lolz. As of now, ditto0 hashes files a little bit at a time (unless they are quite small). The old ways, caused memory usage problems with large files, and ultimately failed to output the full checksum. Even with this new approach it's still slow to hash large files compared to other hashing algorithms, but it's working. Because I was doing a major overhaul to how the input data is handled, I deleted out most of the code that does stuff to the imported data, thus currently the checksums are weaker than in the previous release, significantly! I will make the checksums stronger in future releases; my priority currently is just getting the framework in place.

Download Link:


Demo Output 1:
example1@example:~$ bash ~/ditto/ditto-manager
Ditto 0.430 Testing
ditto0 checksums are not considered secure yet, nore is the algorithm finalized. You have been warned!
Input file:/home/example1/Downloads/file.exe
String length (eg: 100. Leave empty for full):100
Please wait...
1 of 2 sections completed.
2 of 2 sections completed.
ditto0:100:251863995264149550707699413zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
example1@example:~$
 
Demo Output 2:
 
example1@example:~$ bash ~/ditto/ditto-manager
Ditto 0.430 Testing
ditto0 checksums are not considered secure yet, nore is the algorithm finalized. You have been warned!
Input file:/home/example1/Downloads/knoppix.iso
String length (eg: 100. Leave empty for full):
Please wait...
1 of 425 sections completed.
2 of 425 sections completed.
3 of 425 sections completed.
4 of 425 sections completed.
5 of 425 sections completed.
6 of 425 sections completed.
7 of 425 sections completed.
8 of 425 sections completed.
9 of 425 sections completed.
10 of 425 sections completed.
11 of 425 sections completed.
12 of 425 sections completed.
13 of 425 sections completed.
14 of 425 sections completed.
15 of 425 sections completed.
16 of 425 sections completed.
17 of 425 sections completed.
18 of 425 sections completed.
19 of 425 sections completed.
20 of 425 sections completed.
21 of 425 sections completed.
22 of 425 sections completed.
23 of 425 sections completed.
24 of 425 sections completed.
25 of 425 sections completed.
26 of 425 sections completed.
27 of 425 sections completed.
28 of 425 sections completed.
29 of 425 sections completed.
30 of 425 sections completed.
31 of 425 sections completed.
32 of 425 sections completed.
33 of 425 sections completed.
34 of 425 sections completed.
35 of 425 sections completed.
36 of 425 sections completed.
37 of 425 sections completed.
38 of 425 sections completed.
39 of 425 sections completed.
40 of 425 sections completed.
41 of 425 sections completed.
42 of 425 sections completed.
43 of 425 sections completed.
44 of 425 sections completed.
45 of 425 sections completed.
46 of 425 sections completed.
47 of 425 sections completed.
48 of 425 sections completed.
49 of 425 sections completed.
50 of 425 sections completed.
51 of 425 sections completed.
52 of 425 sections completed.
53 of 425 sections completed.
54 of 425 sections completed.
55 of 425 sections completed.
56 of 425 sections completed.
57 of 425 sections completed.
58 of 425 sections completed.
59 of 425 sections completed.
60 of 425 sections completed.
61 of 425 sections completed.
62 of 425 sections completed.
63 of 425 sections completed.
64 of 425 sections completed.
65 of 425 sections completed.
66 of 425 sections completed.
67 of 425 sections completed.
68 of 425 sections completed.
69 of 425 sections completed.
70 of 425 sections completed.
71 of 425 sections completed.
72 of 425 sections completed.
73 of 425 sections completed.
74 of 425 sections completed.
75 of 425 sections completed.
76 of 425 sections completed.
77 of 425 sections completed.
78 of 425 sections completed.
79 of 425 sections completed.
80 of 425 sections completed.
81 of 425 sections completed.
82 of 425 sections completed.
83 of 425 sections completed.
84 of 425 sections completed.
85 of 425 sections completed.
86 of 425 sections completed.
87 of 425 sections completed.
88 of 425 sections completed.
89 of 425 sections completed.
90 of 425 sections completed.
91 of 425 sections completed.
92 of 425 sections completed.
93 of 425 sections completed.
94 of 425 sections completed.
95 of 425 sections completed.
96 of 425 sections completed.
97 of 425 sections completed.
98 of 425 sections completed.
99 of 425 sections completed.
100 of 425 sections completed.
101 of 425 sections completed.
102 of 425 sections completed.
103 of 425 sections completed.
104 of 425 sections completed.
105 of 425 sections completed.
106 of 425 sections completed.
107 of 425 sections completed.
108 of 425 sections completed.
109 of 425 sections completed.
110 of 425 sections completed.
111 of 425 sections completed.
112 of 425 sections completed.
113 of 425 sections completed.
114 of 425 sections completed.
115 of 425 sections completed.
116 of 425 sections completed.
117 of 425 sections completed.
118 of 425 sections completed.
119 of 425 sections completed.
120 of 425 sections completed.
121 of 425 sections completed.
122 of 425 sections completed.
123 of 425 sections completed.
124 of 425 sections completed.
125 of 425 sections completed.
126 of 425 sections completed.
127 of 425 sections completed.
128 of 425 sections completed.
129 of 425 sections completed.
130 of 425 sections completed.
131 of 425 sections completed.
132 of 425 sections completed.
133 of 425 sections completed.
134 of 425 sections completed.
135 of 425 sections completed.
136 of 425 sections completed.
137 of 425 sections completed.
138 of 425 sections completed.
139 of 425 sections completed.
140 of 425 sections completed.
141 of 425 sections completed.
142 of 425 sections completed.
143 of 425 sections completed.
144 of 425 sections completed.
145 of 425 sections completed.
146 of 425 sections completed.
147 of 425 sections completed.
148 of 425 sections completed.
149 of 425 sections completed.
150 of 425 sections completed.
151 of 425 sections completed.
152 of 425 sections completed.
153 of 425 sections completed.
154 of 425 sections completed.
155 of 425 sections completed.
156 of 425 sections completed.
157 of 425 sections completed.
158 of 425 sections completed.
159 of 425 sections completed.
160 of 425 sections completed.
161 of 425 sections completed.
162 of 425 sections completed.
163 of 425 sections completed.
164 of 425 sections completed.
165 of 425 sections completed.
166 of 425 sections completed.
167 of 425 sections completed.
168 of 425 sections completed.
169 of 425 sections completed.
170 of 425 sections completed.
171 of 425 sections completed.
172 of 425 sections completed.
173 of 425 sections completed.
174 of 425 sections completed.
175 of 425 sections completed.
176 of 425 sections completed.
177 of 425 sections completed.
178 of 425 sections completed.
179 of 425 sections completed.
180 of 425 sections completed.
181 of 425 sections completed.
182 of 425 sections completed.
183 of 425 sections completed.
184 of 425 sections completed.
185 of 425 sections completed.
186 of 425 sections completed.
187 of 425 sections completed.
188 of 425 sections completed.
189 of 425 sections completed.
190 of 425 sections completed.
191 of 425 sections completed.
192 of 425 sections completed.
193 of 425 sections completed.
194 of 425 sections completed.
195 of 425 sections completed.
196 of 425 sections completed.
197 of 425 sections completed.
198 of 425 sections completed.
199 of 425 sections completed.
200 of 425 sections completed.
201 of 425 sections completed.
202 of 425 sections completed.
203 of 425 sections completed.
204 of 425 sections completed.
205 of 425 sections completed.
206 of 425 sections completed.
207 of 425 sections completed.
208 of 425 sections completed.
209 of 425 sections completed.
210 of 425 sections completed.
211 of 425 sections completed.
212 of 425 sections completed.
213 of 425 sections completed.
214 of 425 sections completed.
215 of 425 sections completed.
216 of 425 sections completed.
217 of 425 sections completed.
218 of 425 sections completed.
219 of 425 sections completed.
220 of 425 sections completed.
221 of 425 sections completed.
222 of 425 sections completed.
223 of 425 sections completed.
224 of 425 sections completed.
225 of 425 sections completed.
226 of 425 sections completed.
227 of 425 sections completed.
228 of 425 sections completed.
229 of 425 sections completed.
230 of 425 sections completed.
231 of 425 sections completed.
232 of 425 sections completed.
233 of 425 sections completed.
234 of 425 sections completed.
235 of 425 sections completed.
236 of 425 sections completed.
237 of 425 sections completed.
238 of 425 sections completed.
239 of 425 sections completed.
240 of 425 sections completed.
241 of 425 sections completed.
242 of 425 sections completed.
243 of 425 sections completed.
244 of 425 sections completed.
245 of 425 sections completed.
246 of 425 sections completed.
247 of 425 sections completed.
248 of 425 sections completed.
249 of 425 sections completed.
250 of 425 sections completed.
251 of 425 sections completed.
252 of 425 sections completed.
253 of 425 sections completed.
254 of 425 sections completed.
255 of 425 sections completed.
256 of 425 sections completed.
257 of 425 sections completed.
258 of 425 sections completed.
259 of 425 sections completed.
260 of 425 sections completed.
261 of 425 sections completed.
262 of 425 sections completed.
263 of 425 sections completed.
264 of 425 sections completed.
265 of 425 sections completed.
266 of 425 sections completed.
267 of 425 sections completed.
268 of 425 sections completed.
269 of 425 sections completed.
270 of 425 sections completed.
271 of 425 sections completed.
272 of 425 sections completed.
273 of 425 sections completed.
274 of 425 sections completed.
275 of 425 sections completed.
276 of 425 sections completed.
277 of 425 sections completed.
278 of 425 sections completed.
279 of 425 sections completed.
280 of 425 sections completed.
281 of 425 sections completed.
282 of 425 sections completed.
283 of 425 sections completed.
284 of 425 sections completed.
285 of 425 sections completed.
286 of 425 sections completed.
287 of 425 sections completed.
288 of 425 sections completed.
289 of 425 sections completed.
290 of 425 sections completed.
291 of 425 sections completed.
292 of 425 sections completed.
293 of 425 sections completed.
294 of 425 sections completed.
295 of 425 sections completed.
296 of 425 sections completed.
297 of 425 sections completed.
298 of 425 sections completed.
299 of 425 sections completed.
300 of 425 sections completed.
301 of 425 sections completed.
302 of 425 sections completed.
303 of 425 sections completed.
304 of 425 sections completed.
305 of 425 sections completed.
306 of 425 sections completed.
307 of 425 sections completed.
308 of 425 sections completed.
309 of 425 sections completed.
310 of 425 sections completed.
311 of 425 sections completed.
312 of 425 sections completed.
313 of 425 sections completed.
314 of 425 sections completed.
315 of 425 sections completed.
316 of 425 sections completed.
317 of 425 sections completed.
318 of 425 sections completed.
319 of 425 sections completed.
320 of 425 sections completed.
321 of 425 sections completed.
322 of 425 sections completed.
323 of 425 sections completed.
324 of 425 sections completed.
325 of 425 sections completed.
326 of 425 sections completed.
327 of 425 sections completed.
328 of 425 sections completed.
329 of 425 sections completed.
330 of 425 sections completed.
331 of 425 sections completed.
332 of 425 sections completed.
333 of 425 sections completed.
334 of 425 sections completed.
335 of 425 sections completed.
336 of 425 sections completed.
337 of 425 sections completed.
338 of 425 sections completed.
339 of 425 sections completed.
340 of 425 sections completed.
341 of 425 sections completed.
342 of 425 sections completed.
343 of 425 sections completed.
344 of 425 sections completed.
345 of 425 sections completed.
346 of 425 sections completed.
347 of 425 sections completed.
348 of 425 sections completed.
349 of 425 sections completed.
350 of 425 sections completed.
351 of 425 sections completed.
352 of 425 sections completed.
353 of 425 sections completed.
354 of 425 sections completed.
355 of 425 sections completed.
356 of 425 sections completed.
357 of 425 sections completed.
358 of 425 sections completed.
359 of 425 sections completed.
360 of 425 sections completed.
361 of 425 sections completed.
362 of 425 sections completed.
363 of 425 sections completed.
364 of 425 sections completed.
365 of 425 sections completed.
366 of 425 sections completed.
367 of 425 sections completed.
368 of 425 sections completed.
369 of 425 sections completed.
370 of 425 sections completed.
371 of 425 sections completed.
372 of 425 sections completed.
373 of 425 sections completed.
374 of 425 sections completed.
375 of 425 sections completed.
376 of 425 sections completed.
377 of 425 sections completed.
378 of 425 sections completed.
379 of 425 sections completed.
380 of 425 sections completed.
381 of 425 sections completed.
382 of 425 sections completed.
383 of 425 sections completed.
384 of 425 sections completed.
385 of 425 sections completed.
386 of 425 sections completed.
387 of 425 sections completed.
388 of 425 sections completed.
389 of 425 sections completed.
390 of 425 sections completed.
391 of 425 sections completed.
392 of 425 sections completed.
393 of 425 sections completed.
394 of 425 sections completed.
395 of 425 sections completed.
396 of 425 sections completed.
397 of 425 sections completed.
398 of 425 sections completed.
399 of 425 sections completed.
400 of 425 sections completed.
401 of 425 sections completed.
402 of 425 sections completed.
403 of 425 sections completed.
404 of 425 sections completed.
405 of 425 sections completed.
406 of 425 sections completed.
407 of 425 sections completed.
408 of 425 sections completed.
409 of 425 sections completed.
410 of 425 sections completed.
411 of 425 sections completed.
412 of 425 sections completed.
413 of 425 sections completed.
414 of 425 sections completed.
415 of 425 sections completed.
416 of 425 sections completed.
417 of 425 sections completed.
418 of 425 sections completed.
419 of 425 sections completed.
420 of 425 sections completed.
421 of 425 sections completed.
422 of 425 sections completed.
423 of 425 sections completed.
424 of 425 sections completed.
425 of 425 sections completed.
ditto0:full:42583797764348134556984076483255500298025786461405050832747180943935469751964646200125556946098444308357035698583825238410027268382824749823847453243232457734577505296292802624019794119779605858323255222283842049454638533424008567292477944449352827637913240898502678664524412182619744556173310259304514566370307764082331593835445047545324437024396844558000308636368727316917015673510827107353182078756132013074951441770863054474852964444989883484510850716472009405224363506371251695919157952598668321338025419263126215061233572420029311375422345313184538672503357238561959611337157229574788387327072026928346008213255438857125814370901265630086214449543242556984926821261734919072574283388672926431183879432548632327962344510251655775678755741963895108986571726063325064435316150768370884766530003810008684163238788329304504604196093226149018838342552518384732849563207508913370158674369106431865904753672521151362670124619659303466453147936598202139250750517571261323287449365102238331338168195640382275333525692085939045004703610256691606972554882738956857333911321377692582015592842125431535453323866680559419173941820154848606323248919116282318403932320774376822154111956940832924863134573707193320140634462055450926176441595568514441525697708764531756148709445026510024455959229844687407011258659997662630957166545001868200383500881253815899501419905477608318848501643190385032637841789490333360884245077773394063390840635386088956445071853091745192373888507082624665686693345387788207135131910714915102604100775621111141195356841483213832561138225042756316960204705705520755138599511632631455498856389469189657364079256638350568193791101064026424386621101859652278578672856227228684190571120706505654784430631825622683263035670948202252003338794213319318866735825177439510450646017940630680320882642757489526055644648384739801483822299234420035782283254897018135076297150344886228610700397858293841392894332138024479631849999354581932873175494417463441151878672560516142913435357535958914875095767805492326427345662571740527661398182715385445890923232533058144188164197696617453733214395303744682305771515179183961964245258713244706542194024122523841451173669165274181964548126219456986153317512837955045846637731882645037387248175981995984904225494489982507062070255691352256332267037962505211504555077680364938478001919443656397301337850820925610704255380367713762661934260132329046487630024895831914835811150902947061257395095833866696159582265081020196470288762021907076025348507008444312786783853396914331949180839384758859696262694017550708433624508352878784431189355238478532951876596276983227625123519139917650322699383231990027336731949057206443159381223188211211920096291598321402582143772024271812276481315077076956550963906977264950687034487968793444311728721444366712063847060276757037834630194676709677417075705382863387403225926668119340621517319521554475699097879744186144902442525136304455317448013380580903261795999543797513988363258710318197897484117865149668635718720278138273117532010744708318898439141972082899713370054399257417332393828915928732581043357254725152075661187077769029178338443093244284437443585651712932506509594741342598622590638600479666442422622252611645961319842521190513387238412002892344226052218484261735431733213634184744375153438569850952913803884107526230310766318155203764488444038544617208480196523586021319323661475622156900256734733768798215103251151170489457602401571952576576444874551732817784507611376088936225670194668508478532022580356910232267218705378537066503251371560832262218400258545399934411937396563451782818389110565844449993832538478619132443008859352579909794738730152584136930645475045752797038409928766448748966825075970122726296041468256072601565673682083638091783796569768202205058541387638163769598318325621566467062754255545217403784781511119339582121384182840035058690457944315949192386084762461959593256056789464085446283404312611137701813056968238256139097961990472489263328961227322048790642022160574269532455395200867740435121802420325931910385443694963786364370834238349225043317552068513176334965920217654632260514423403785597197019528806328567421008754418028967325742313567382227094664418399948731888851538695481441583182386809825677184678258593974178144586539244751631249193418619875039470078888361552898507747409406333389224926114983254388472355277230019634383524411712561550570738156040674567342743154430963589832194087726209666266895685834248163003519251384065805261939772773332143183963571678711386626083461425819155157111211586447609734007415682855197844105134443214523219525870506449369112161939457738132266550765318277516082636920197119453678259195859634138797396138838158856975
example1@example:~$

Edited by Al1000, 03 September 2016 - 12:16 AM.
delete download link


#3 Guest_hollowface_*

Guest_hollowface_*

  • Guests
  • OFFLINE
  •  

Posted 17 December 2015 - 09:31 PM

Ditto 0.433 Testing:
I've improved the checksum quality, and increased the length. All previous ditto0 checksums are now invalid. I also fixed an issue with the division of large inputs into pieces (parts were getting skipped). While everything seems to be working, it is unacceptably slow currently when dealing with anything other than tiny files.

Download Link:


Sample Output:
Ditto 0.433 Testing
ditto0 checksums are not considered secure yet, nore is the algorithm finalized. You have been warned!
Input file:/home/example1/test1
String length (eg: 100. Leave empty for full):
Please wait...
1 of 1 sections completed.
ditto0:full:114489588010705231292303644245136307608229611010116412231310145015231292303644245136307608229611010116412231310145015231292303644245136307608229611010116412231310145015231292303644245136307608229611010116412231310145015231292303644245136307608229611010116412231310145015
example1@example:~$ bash ~/ditto/ditto-manager
Ditto 0.433 Testing
ditto0 checksums are not considered secure yet, nore is the algorithm finalized. You have been warned!
Input file:/home/example1/test2
String length (eg: 100. Leave empty for full):
Please wait...
1 of 1 sections completed.
ditto0:full:114569588006305231292303644245136307608229611014116412231310145015231292303644245136307608229611014116412231310145015231292303644245136307608229611014116412231310145015231292303644245136307608229611014116412231310145015231292303644245136307608229611014116412231310145015
example1@example:~$

Edited by Al1000, 03 September 2016 - 12:17 AM.
delete download link


#4 Guest_hollowface_*

Guest_hollowface_*

  • Guests
  • OFFLINE
  •  

Posted 18 December 2015 - 01:46 AM

Ditto 0.450 Testing:
I haven't made any changes to ditto0, but Ditto has been turned into a set of scripts (like my Cloudy project is). As of Now Ditto can:
- Hash a file with ditto0.
- When hashing a file, it can optionally output the checksum to a file. The file will have ".ditto0" automatically appended.
- When hashing a file, the outputted checksum can optionally be changed to a user specified length (though this will be less secure than the full-length string) to the chosen name.
- Compare 2 checksums that are stored in output files.

Components are now split into 2 scripts: input and task. This makes it easier for third party tools to utilize Ditto. I did also add the ability to compare 2 checksums directly (eg: strings aren't stored in files), but I removed this feature, because most checksums will be so large that you can't actually input them by pasting/typing, because Bash will cut them off after X number of characters. Ditto is still very very slow for files that aren't really tiny, and it's especially slow if using a non full-length string for such a file. I've also noticed that if long strings are shortened, Bash is adding a continuation slash, which I've not yet been able to get rid of. I've also noticed that sometimes shortened strings don't get padded, but haven't yet discovered why.

Download Link:

 
Download Checksums:
ditto0:full:5171401680516729518460811767793011425431341151162671081091010101118121013101428156116461730183819442058218225423224282558262627108208820946210292112921227213132145021548216142176421852192022022211822239223212247225322652276222822018856188649188730188815188948189010189122189214189353189444189553189654189748189857189937190062190169731769741069751969761469771269781069791069801269812269821469832669841069851069861069871069881069896973176974106975196976146977126978106979106980126981226982146983266984106985106986106987106988106989
ditto0:100:1318162909831675523848042223460454610131034690556598988952215211094177978536355069715745408609284
ditto0:30:1227634874947066906698087438zz
MD5:1ed81babec0030e68896593d0a514c76
SHA-1:adace355a80d7a7ab0f8119d8a29c274c4f63a81
SHA-256:c11a8efff4c4496503f1471944b5bf0844a5dc998f74f688ba921c4dd42a8f6d
SHA-512:0a3cbd35498f686cb14e9997beeead82c7b84ea826a5a26c5486acce0a4898dc251a93b0fbe61b54795d388236eb02a67a1460cf52caf5722430b3ce347a35da
Demo Terminal Output:
example1@example:~$ bash ~/ditto/ditto-manager
Ditto 0.450 Testing
ditto0 checksums are not considered secure yet, nore is the algorithm finalized. You have been warned!
Where is Ditto located (excluding filename):/home/example1/ditto
Task List:
1. Hash a file
2. Compare checksums (using checksumfiles)
3. Quit (Exit Ditto.)
Choose a task to perform (enter the number):1
Input file:/home/example1/test1
String length (eg: 100. Leave empty for full):
Output file (leave empty for stdout only):/home/example1/output1
Please wait...
1 of 2 sections completed.
2 of 2 sections completed.
ditto0:full:200000871310759348245215800597851011021031041051061071081091010101110121013101410151016101710181019102010211022102310241025102610272021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110183510183610183710183810183910184010184110184210184310184410184510184610184710184810184910185010185114410101451010146101014710101481010149101015010101511010152101015310101541010155101015610101571010153322101333231013332410133325101333261013332710133328101333291013333010133331101333321013333310133334871310759348245215800597851011021031041051061071081091010101110121013101410151016101710181019102010211022102310241025102610272021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110183510183610183710183810183910184010184110184210184310184410184510184610184710184810184910185010185114410101451010146101014710101481010149101015010101511010152101015310101541010155101015610101571010153322101333231013332410133325101333261013332710133328101333291013333010133331101333321013333310133334
example1@example:~$ bash ~/ditto/ditto-manager
Ditto 0.450 Testing
ditto0 checksums are not considered secure yet, nore is the algorithm finalized. You have been warned!
Where is Ditto located (excluding filename):/home/example1/ditto
Task List:
1. Hash a file
2. Compare checksums (using checksumfiles)
3. Quit (Exit Ditto.)
Choose a task to perform (enter the number):1
Input file:/home/example1/test2
String length (eg: 100. Leave empty for full):
Output file (leave empty for stdout only):/home/example1/output2
Please wait...
1 of 2 sections completed.
2 of 2 sections completed.
ditto0:full:200000871310759348245215800597851011021031041051061071081091010101110121013101410151016101710181019102010211022102310241025102610272021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110183510183610183710183810183910184010184110184210184310184410184510184610184710184810184910185010185114410101451010146101014710101481010149101015010101511010152101015310101541010155101015610101571010153322101333231013332410133325101333261013332710133328101333291013333010133331101333321013333310133334871373759348245215804587851011021031041051061071081091010101110121013101410151016101710181019102010211022102310241025102610272021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110183510183610183710183810183910184010184110184210184310184410184510184610184710184810184910185010185114410101451010146101014710101481010149101015010101511010152101015310101541010155101015610101571010153322101333231013332410133325101333261013332710133328101333291013333010133331101333323113333310133334
example1@example:~$ bash ~/ditto/ditto-manager
Ditto 0.450 Testing
ditto0 checksums are not considered secure yet, nore is the algorithm finalized. You have been warned!
Where is Ditto located (excluding filename):/home/example1/ditto
Task List:
1. Hash a file
2. Compare checksums (using checksumfiles)
3. Quit (Exit Ditto.)
Choose a task to perform (enter the number):2
Checksumfile 1:/home/example1/output1.ditto0
Checksumfile 2:/home/example1/output2.ditto0
Output file (leave empty for stdout only):
Please wait...
Checksums differ.
example1@example:~$ bash ~/ditto/ditto-manager
Ditto 0.450 Testing
ditto0 checksums are not considered secure yet, nore is the algorithm finalized. You have been warned!
Where is Ditto located (excluding filename):/home/example1/ditto
Task List:
1. Hash a file
2. Compare checksums (using checksumfiles)
3. Quit (Exit Ditto.)
Choose a task to perform (enter the number):3
example1@example:~$

Edited by Al1000, 03 September 2016 - 12:17 AM.
delete download link


#5 Guest_hollowface_*

Guest_hollowface_*

  • Guests
  • OFFLINE
  •  

Posted 24 December 2015 - 09:06 PM

Ditto 0.460 Testing:
Yay! Another Ditto release.
 
Demo Outputs:

example1@example:~$ bash ~/ditto/ditto-manager
Ditto 0.460 Testing
ditto0 checksums are not considered secure yet, nore is the algorithm finalized. You have been warned!
Where is Ditto located (excluding filename):/home/example1/ditto
Task List:
1. Hash a file
2. Compare checksums (using checksumfiles)
3. Quit (Exit Ditto.)
Choose a task to perform (enter the number):1
Input file:/bin/bash
String length (eg: 100. Leave empty for full):100
Output file (leave empty for stdout only):
Please wait...
1 of 10 sections completed.
2 of 10 sections completed.
3 of 10 sections completed.
4 of 10 sections completed.
5 of 10 sections completed.
6 of 10 sections completed.
7 of 10 sections completed.
8 of 10 sections completed.
9 of 10 sections completed.
10 of 10 sections completed.
ditto0:100:364777290482328143964955167202369690756286521227300701497840914123488865741904561296894900436838381z
 
example1@example:~$ bash ~/ditto/ditto-manager
Ditto 0.460 Testing
ditto0 checksums are not considered secure yet, nore is the algorithm finalized. You have been warned!
Where is Ditto located (excluding filename):/home/example1/ditto
Task List:
1. Hash a file
2. Compare checksums (using checksumfiles)
3. Quit (Exit Ditto.)
Choose a task to perform (enter the number):1
Input file:/bin/bash
String length (eg: 100. Leave empty for full):
Output file (leave empty for stdout only):
Please wait...
1 of 10 sections completed.
2 of 10 sections completed.
3 of 10 sections completed.
4 of 10 sections completed.
5 of 10 sections completed.
6 of 10 sections completed.
7 of 10 sections completed.
8 of 10 sections completed.
9 of 10 sections completed.
10 of 10 sections completed.
ditto0:full:10170163151710750965995224254064656470411642313224275426187118109261010111012101310141015101610171018101910201021102218231024252542261027031020438205102061020710208102091021010211102121021310214112155821610217102181021910220102211022210232618445818451818462618472618481018491018501118511218521818531418541018551018561818571618581018591210101741010175101017610101772010178341017915101801010181101018210101831010184101018510101861010187101335862313358764133588381335895813359011133591611335923913359347133594913359550133596361335972613359812293022800940625096124585292780236381322734543651661576083895810111111237133214151561163617118919442039213222472354243925162647275628207562083520931210921161212392131621415215642163521726218112195122035221472229223462243722522262222779611880361881161882471883561884351885118869188747188837188948189015189144189237189316189431189546187103563710357321035811035943103603710361481036227103634110364351036533103664310367511036839103691510352154613521664135217631352184113521963135220631352211313522259135223913522410135225101352261013522734306449019943765230624699839761958281182553174125216637258409461054111012281318145415581622173818131951204121402249236324632522635274820758208132095021054211622122135721463215632161217562186321915220202211122222223102241322517226102263187463187562187618772118782718792718804418815018821018832618846218851886151887211888261889301890103103421910343331034491034563103466310347631034851103494510350411035131035263103536310354510355111035574363135744631357452613574634135747251357481413574910135750561357514813575240135753631357544213575512424001133176242341624760781475325631632934841355969714810910101111181244136414261546161417101862192062212210231324492534263927172827082520917210421126212102131021410215102161021710218142194422021221392221222326224262252222639227182281869241870441871541872251873631874318756318762818771818781187926188010188146188244188313188462188517103331810334491033518103362910337161033825103396110340261034158103426210343103442103451310346121034359764913597711359785713597947135980541359811013598210135983101359841113598511135986311359871013598820152390901101390623124794540123035281342493304315316237188449411055111812421362141558161817618251982055211022582311241825432638271128710208242094521011211132125821314214102152821618217492184021928220182214922217223622412225362267227681321882118831188411188533188614188715188839188926189031189151892111893331894818952218962518971718980330441033119103327103334610334441033519103363103374103382510339101034010103413410342471034314103441361795013618025136181171361824136183261361841013618510136186101361871013618810136189101361901013619171264036159174234525903248314756822812613726431141051061071086961050112512171341426151016101710181019102010211422442321242125392614276422072820827209102102621110212102132721434215332165521713218421933220442211022226223102241022527226342187717187821879221880381881111882311883281884181885491886918873018886218891890421891101892241893411840631034161103426310343610344510345461034625103471710348410349101035010103511010352101035310103541016337561363381413633919136340251363414213634210136343101363441013634510136346471363471013634810136349169655856041469468027246760958150868110210310425526611710810910101011251243133614371562161763186319920182144224232624462524261027142811020510206102071320817209102106211252126221321452156221621725218921922220452213722258223462243822512151873551874391875581876518771118781118794218806218811882101883141884591885461886171887631888221889101034110103421010343101034410103451410346421034711103486010349641035044103511310352591035326103541413571855135719141357201913572110135722611357235113572453135725631357267135727631357286313572958135730139390203912005255024382199195108611625634946355766375184796310711631263132143415251617176418261910201021142244232124252534264627312076320862093821021211622122136321463215921618217442186121964220372211122228223302241022562261222737231418742187514187644187711187825187934188033188116188219188310188413188526188632188764188850188910181922103204110321631032250103233410324481032571032663103276310328611032917103306310331610332221033355438643134387471343881813438916134390231343915013439234134393331343941913439543134396341343975813439839836785307624005095243290204821223911623136043856061174883793103111561235131214111551163717441810194620282130223523292418251626152763512043720522065207612082420942210502114221218213122141021542216182171221810219552203422128222112234518574818584718594718603518611218621118634818643618653218665918674718681818691618702718714718723818702473510248321024923102504710251351025216102534710254561025535102565810257501025842102591810260121023395310133954813395510133956101339571013395810133959411339601413396118133962101339631013396410133965375321208177383018243934001550295811123324635963871181091010101110122613421441526164517101819192020132143224423162410256426262724280563206372076320828209422101021110212102131021411215112161321743218122191322010221422221922314224132856341857201858131859421860431861191862121863641864141865241866121867101868101869301870101871101872102401010241101024211102432610244101024510102461010247111024881024934102501010251101025210102534610253892101338931013389410133895101338961013389710133898101338991013390010133901101339021013390310133904
Changes:
- Fixed padding issue, and continuation line issue. The padding issue was in part caused by the continuation line issue, and in part by an invalid Sed usage. Existing checksums are no longer valid!
- Fixed issue with .ditto0 extention when no output file is specified.
- Modified ditto0 specification so that front and tail characters are no longer trimmed during equations, instead "1" is added. This will help make ditto0 more secure. Existing checksums are no longer valid!

Download Link:


While I'm sure I'll think of changes to make down the road, currently the only change that comes to mind is improving the hashing speed, which it doesn't seem I can do much about, and anything I do will likely have undesired concequences like more CPU and RAM usage. So, at least for now, I'm not concerning myself with the speed. Ditto has the features that I want; ditto0 has a design I'm currently happy with. So, really it's just a matter of testing ditto0 for resilience. If it tests okay then I should be able to finalize the ditto0 specification, and put of a stable release of Ditto. Ditto will of course still get improvements made to it, but ditto0 would be complete (meaning when it breaks, it wouldn't be modified, it would be replaced by ditto1).

Testlist1:
Here are the results from my first official test. 10 files were scanned using Ditto to get a ditto0 checksum, and there were no collisions (identical strings for different files). To help ID the files, SHA-512 checksums are also provided. The file layout is:

ditto0    SHA-512
ditto0    SHA-512
The plain-text file has been compressed in an XZ archive.

Download Link:
SHA-512:a1888eccbef375d662ea5a5f3612fd66cbea3552c70ed00a70074e06168214c6e19cc2118aa76ddd96ccffaae88657b480796a6f81e708b414734bd1e4e779f4

Hope to have another testlist soon :). Future testlists will likely be larger. I made this one so I could figure out how I was going to generate the file.

Edited by Al1000, 03 September 2016 - 12:18 AM.
delete download link


#6 wizardfromoz

wizardfromoz

  • Banned
  • 2,799 posts
  • OFFLINE
  •  
  • Gender:Male

Posted 25 December 2015 - 03:20 AM

Do you want input to this? Or just for me to say ... WOW.

 

If the latter, I can comply

 

WOW

 

... looks interesting - I will watch this, but I am too full of turkey & stuffing for now to do other than watch.

 

Congrats on pushing the envelope.

 

:wizardball:



#7 Guest_hollowface_*

Guest_hollowface_*

  • Guests
  • OFFLINE
  •  

Posted 25 December 2015 - 05:50 PM

Testlist2:
Here are the results of my second official test. 1751 (jpeg) files were scanned. Not a single collision. :) The combined total number of files tested to date (from testlist1 and testlist2) is 1761 files.

Download Link:


Hope to have another testlist soon, but it likely won't be near as big.

@wizardfromoz
 

Do you want input to this? Or just for me to say ... WOW.


I'm just having some fun; if people have comments or criticisms they are welcome to share them, whether they be a simple as a comment like "It's great.", or a 10 page essay on why Ditto sucks. Depending on the nature of some comments, I may not enjoy them, but I still appreciate them, as all comments/discussions are helpful to potential Ditto users.
 
Thanks for checking out the thread.

Edited by Al1000, 03 September 2016 - 12:18 AM.
delete download link


#8 Guest_hollowface_*

Guest_hollowface_*

  • Guests
  • OFFLINE
  •  

Posted 26 December 2015 - 02:16 PM

Testlist3:
Here are the latest test results. 1295 files were scanned. No collisions. This brings the total number of scanned files from all testlists to 3056, with no collisions yet.

Download Link:


Hope to have another testlist soon.

Edited by Al1000, 03 September 2016 - 12:18 AM.
delete download link


#9 Guest_hollowface_*

Guest_hollowface_*

  • Guests
  • OFFLINE
  •  

Posted 27 December 2015 - 07:25 PM

Testlist4:
In previous tests ditto0 has done excellent, but these tests were of regular day to day files that a typical user might hash. I decided this time to test against harder files, files specifically designed to try and invoke collisions. This is where things start to get fun. :) I generated 10,000 files (150,000 characters each) that only differed by 1 character. It doesn't get much harder than this. This test was successful in breaking ditto0. There were 3,334 collisions. I have to say, I'm impressed that ditto0 successfully uniquely identified 3,332 of the files. I will have to do some tweaking to ditto0 to hopefully raise the success rate against these hard test files.

As it stands, in tests, ditto0 has demonstrated a 100% success rate against easy files (indicating a low probability of collisions), and a 33% success rate against hard files (indicating a high probability of collisions). As such, ditto0 is no longer considered insecure, but now an extremely low security hashing algorithm. This is progress.

Download Link:


Not sure when I'll have the next Ditto release ready, but hopefully it will implement a more secure ditto0.

Edited by Al1000, 03 September 2016 - 12:18 AM.
delete download link


#10 Guest_hollowface_*

Guest_hollowface_*

  • Guests
  • OFFLINE
  •  

Posted 06 January 2016 - 02:54 PM

Ditto 0.461 Testing:
I was planning on improving the strength of ditto0 checksums, but got side-tracked when I noticed an issue with the way files are read in chunks. Because a number of expected chunks is calculated, but rounded to a whole number, some data wasn't being processed when files result in a decimal number. I fixed this. In the next release I'll work on improving checksum strength. This fix actually shows that ditto0 checksums aren't as weak as I thought; to see what I mean, checkout the testlist below.
 
All previous ditto0 checkums are now invalid.

Changes:
- Fixed an issue with the chunking that caused some data not to be processed when generating the hash.

Download Link:


Testlist5:
I re-ran the same test as I did before with the 10,000 files designed to try and cause collisions. I wanted to see if the issue I fixed was contributing to any of those collisions I recieved last time. 9343 of the 10,000 files were sucessfully hashed into unique checksums! 657 files failed to be uniquely identified. A 93% success rate is a big improvement from the previous 33%.

Download Link:


Hope to have another release soon that further improves the checksum strength.

Edited by Al1000, 03 September 2016 - 12:19 AM.
delete download links


#11 Guest_hollowface_*

Guest_hollowface_*

  • Guests
  • OFFLINE
  •  

Posted 04 February 2016 - 01:19 AM

Just thought I'd give a quick update on what I've been doing.

 

I've been doing some more work on this project trying to figure out why some of the testfiles are colliding. I've removed all the additional security equations, and gone back to the very basics, but still haven't isolated the issue. I removed the chunking feature teomparily to test and see if a non-chunked version of the same 2 files I'm fiddling with ATM would still collide. They did, so I've ruled out issues with the chunking feature as the cause. I've looked at the conversion of the data to numbers as a possible cause, but see no flaw. I'll try to build an alternate conversion approach, or something so I can actually test to see if the flaw is in there and I've just over looked it. It will likely be a while before I have any new releases for Ditto, but hopefully when I do it will be good one. The non-release I'm currently testing with has moved away from DD, and is using head + tail instead, so I will probably end up incorporating that into the next release.


Edited by hollowface, 04 February 2016 - 01:19 AM.


#12 Guest_hollowface_*

Guest_hollowface_*

  • Guests
  • OFFLINE
  •  

Posted 13 March 2016 - 11:16 PM

Ditto 1.0 Stable:
zSoHotw.png

The Ditto project has hit a dead end with it's original goals; rather than terminate it, the project has been repurposed. Ditto is now an open-source hashing tool that acts as an extention to existing algorithms to provide variable length checksums when using algorithms that normally produce constant lengths strings. To avoid confusion checksums outputted are rebranded using the the following format: checksumtypeVL-DETAIL. Installation instructions, a copy of the license, and a list of dependencies is provided in the ZIP download.

Changes:
-Changed project goals from using ditto0 to using existing algorithms.
-Added interactive/non-interactive modes.
-Changed location checking method.
-Using head/tail chunking method rather than DD.

Features:
-SHA-512 hashing has been implemented as SHA-512VL. More hashing algorithms may be added in the future.
-Output to stdout and a file, or just to stdout.
-User can adjust the detail value. This allows the user to control how many segments the input file will be interpretted as, and therefore increase/decrease the strength of the outputted checksum, as well as the size.
-Compare checksum files.
-Ditto is split into multiple scripts to make it easier for third-party tools to interact with it.
-Provides both interactive, and non-interactive modes.

Checksums:
SHA-512VL-129:cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e6710f0eadf9a8d4568a4ccdc9b03262c8fee93dc9492fb257c1401432bf31ef28befa4599df46580b62779fe281b260369ac524f2160833260fba25524120b96becb88dc8a8e09e394fbd6a01d3cef49b507476f0295bddcea663fed1a29af176de6417a17b7ba67de70672f3aaa6b6e65db15f4c1746dd4b0ff840576113c5aa51017098b9ac93daf37282a3a29d0e8a932c7f2a237c8f24fe81436473c8cf3fb2afdc6c4aa68ddd818617847ddbfd103bcf4d8a5a522e83f4ded76bcc3c29a0269e9a7dc8a535363fc820422e96cb0787a37e8230c903e3b9d687d28c77dbb1d862f9da216946db53e1783db0393d169200931c7ca5a24c1174c93997eb0d81af8f6351552f76471148df5f1ca099cf7c15fe1030c2f428dcb538c6593a528c605c3a57df09e3622a0c595099393cd29df10aa72e58bad3822fd572bf77e35e899537bd3815ec0c34290fea87c12719b42c603e629fb01475a1b84e07246bf15bf7171737c910e210bbcd49c9472f4ea3522c6d153e1299005870a2554509e7d86710ccb69883d63f93704b547e75ff7b8b25104bccd100745bd1e55b83e25f4fba495c7cc386c48c1265ac6b26dd0edac8d4fecfe2083ed8fcc4f100c5a887c168cb6e974102c25d4772c68456adf70566cd040cf2e9f6e74fcee7f7fac5535852cb6a7624dd2bea3d1a364de62421176b10b0c41af4d0068876f380c67af649c00edf14c410854a7a8034d426a3505f924abe4ac296127457938b8f867cfc979ded329c6c3879dbfee72396f1026522bea6190f3c058d5439add4b45598841695bffc601d7c3934900e10d40d6e5637267abb833c40c4d9b92d6a1ae7c5426e135a9817f7bbd8e6a91d0bb9bbae1023ab23c107a9aed9e88005ccf2b5b171f0a355bfc8c5b785b4d59bd8e3e5a743da78226e205e56c9f94e5ffe9d775aebb7a2df979c65541b2037e2b4c7a198a8bcdd20d6617a2131d28487915737238c79ba4884d3d75472f6f53a460253515b499bd742a5d77385286951defc0c3b4cc024571b482b1bacbb78a83cae71d9d1c8a57029bed8901ffe8a8bfa25c6ba7005d0bf8086a6813f630da819a1aeee9aee02f50c0cc04fbc26fbdd1e07846f7e4f5b108a43a5659762b33331bc5a9fde7823757f7d90484aea16113095f5c7d821de91c8ce41abdf65ea32c4c0316a3aabaf5a4563c6a4a90800466b712882a9bb5405da3c4ae0951739eb586b383f951090c60dd83dcf023f5701abaa073404d8183ecb777b3585bc178394173fb46349e5c67efdfcc8dd7dddd3cdba06e2cf9a8e1ec568064e8199217043d56d1dfa2c147ab272fe1e80955321112433ba9ec4e38139e32db383cba4476a09c25bcc8581d934ae5d7bff96cc0cda4bf936b90831fb7840b56df5afddf6011404dab1609f1e1eed409f096426194a4ab21b15253d186b0013c2ce3c226a9bd1827b8625d95bfce1b246077017eca254da5eb3ceb6b20b47977fe5ff175352164e0535e2b0c30af6129485f92d4d72cfc35dfbd1da8e999f415ece780a64e1acd885c018481a7f4cc66918876da02ded334601acdf3f720a58f2d16af5b930a32c7cd536aa3ad834a9a5a575dccb4a0e7e056e74fa7f309e3cb3a03667ac120227a9ddc82338be6a4a0437bc28a88beebdbd2e5535dc635f5bd1f9e06770f7cb544f7b83a40e09a935644731a2ae92174cffea48de6498ae0bd7f3e7fe1752e3bd6de29040d56ebc8bba2a892c22bf90b8e1001537f37467cd457ebdb24aabcbeac8df57f440066f56e422ac2e9275cc57e2308f45658a096dbdc2b46a084cbed5fba191742e9f24b2e43f284120e9da8f26cac0fe34a48da56712b37b363dac7787662818631516800032488ce8da2967d38af55a94dc7d8c2ee2226cb6ab798efe413f6b11525f6838435fe5b2bdb9d8deeefd55b6e7ae4c9ff3de1836fbd8b0c65ea33545f1c938006a06011b8bd69e53ed22df99d1bfb737dde2c7f117fccdaec283dfe5cb098165acadbd4a46ad6d7a86c41ee438ff64bee181431d3b4024d3d91e87f9d954cfe372621843d70a47200bcf8e190c9bddfede3ac486e63f734179f9d6e16228f906726eee439398cd10f106893aa28bff6bc552b3b43c533c9450a67f6d98b2b39e7faf58a1c474dbd5134b52bde9dfc171743cfc334653b1c48151df5d39f643ca4d398792350b94d02a142c0a71e17a871f9f0a0910e825d55997fcaf6d92d77032fb6a47110aef13963106842985b6521b47a802543fcd9480f366997bcca6031ad6a3499b62b9edf274e04778d4fc54dfbcc1f252b5ddaf0a4b6959cded70ddc296429d88ef58547487b809b029b8c8cb481317d6492d8a7b8371921355f783c8dde9762a6f2c269374ae6d03d2ef885550ab5a7155ecb3840c808cdc6f57213bb57ca7cb143f93270bd0424ee1e59152b17968f8edb959aa3e0ccc9000bb074207e059460dab484f2e3a626a5e332b36a05383fd327afe7d498466c719451b20932d8aaf851be22c25e7c3263947f49639c60e39a8440e8eb9453cb9cf82a62ad1643a271fdcf72911579f972128a270977ecceb5bbc8bc0aa6573010f6adabe576815f60086699a02eca13701013f3da34b602957e6fd9dce63a1ffa9e633a9b62f1300428d804d25724487e5a9047082a51f38d4299356604004f8aae3c9390fffb652829e0ffd4a22d859e30def6ab022f53657938d2531f83e356e7ae7f1e1ffb1e510b707ae9b794833a035b13cff02480a4540fec7423c6ffd8b18e2c6062588c6e3036087f2c580149245a897c304d4f197125d582c5f106dfc1c018ea8644de6b52e71e717b73463c724a2c40866eeecbaa96ba4192f2cb70d57da050ef6a17d6adfa66b859d124dc304ffee1dd76bd82450222665ca6d577207de13aa2612c0fcc6fc7c52740df31f031b325745da983dd924aa7563aba27e7471bf5ac97ccd54f555c76da7cb5ffb1f5d8ce73e3b6ccf33d47f689bae31f04aae49d86386fb32a581b7a98fe3626c655759da2de576f29519e3838d998ddeba8b3e4e912f292da85c161a8d19155853fc1a594ec6cdd3f42399800d4d699450eb3fad12e7b6a61b3485340eb235be0ac040aa6c64ab0398bdb42d8bc3ec818513f8f3a08a1aa0d9166ea1aec8131a0553b90e182c5e14e0acbc2a653f5003a489ddab78e6e47e3a728f16ad9549ee7e62f8d6cceb829d8b75806c4430822b41beb5f645025d1c1162a53e4c7d85797c4c1e231adf484845ae66ed63bb87568627c16323379c10e5b4e09ea7d55504f510fee0ebbbd1a9aeec65d01d1c9ba3dec9075687f8ad252ab746fde5548b47b877457755861650a1f2f874e32f5980ea45bed34541819d1ed686eafdf47a0c34d16f6005810f29156f316ce80f8ccec0a3aa23a3b4ff052a084eeb3ba46078477df19ad074ff755987959bf80c38bb2498ec0bb3089ea24f60841eeac550ed533438f9af56eda9da09b5fc2fb6728df225d4a7ca21c4fad705f
-SHA-512VL-100000000:cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e
-SHA-512:ac6095ad29a02cc536058f5a0090ccbd284c571a5171bb3be5a6cd85fb23263a3e65a07a7130a758de9ec28f29d2fd972eefd83a66e2bfd9faa804baeae2c7c9
-SHA-256:92aec2ea3a87215a07322cb861ce6db1415dd58019ea3c69f1967d6534858e48
-SHA-1:dd322220c0b5a1581a64cea584b9d6f62e065eb1
-MD6-512:50e48ed70b50935991bfe8d6d6f6838dfe3dde3bf6f43bc99f814f42152bb77323dfe075c4229eac383ab8ee2830fef3abaafb09697cd80a6c0b6e119f2b3e6b
-MD6-256:fe3004d61aabe0e0e6320ff6e099b726a90bfe224491daf94c7d3c490c72b264
-MD5:0c8f1d73d67f5644bd9c1616b264ecac

Download Links:


Ditto Sample Commands:
Here are some sample commands for accomplishing common tasks. Make sure to substitute in correct values for the options, rather than blindly copy/paste.
Hash A File Using SHA-512VL:
bash /home/example1/ditto/ditto-cli --location="/home/example1/ditto" --task="1" --inputfile="/bin/bash" --detail="100000000"
Substitute "/home/example1/ditto" for the path of Ditto.
Substitute "/bin/bash" for the file to hash.
Substitute "100000000" for desired chunksize in bytes. The smaller the stronger the hash, but the larger the checksum. It's recommended that you use the smallest "detail" that your purpose can bear.

Compare 2 Checksum Files:
bash /home/example1/ditto/ditto-cli --location="/home/example1/ditto" --task="2" --inputfile1="/home/example1/checksum1" --inputfile2="/home/example1/checksum2"
Substitute "/home/example1/ditto" for the path of Ditto.
Substitute "/home/example1/checksum1" for the path of a checksum file (output of a hashing).
Substitute "/home/example1/checksum2" for the path of a checksum file (output of a hashing).

Sample Terminal Output:
example1@example:~$ bash /home/example1/ditto/ditto-cli --location="/home/example1/ditto" --task="1" --inputfile="/home/example1/Ditto 1.0 Stable.zip" --detail="1000"
1 of 6 sections completed.
2 of 6 sections completed.
3 of 6 sections completed.
4 of 6 sections completed.
5 of 6 sections completed.
6 of 6 sections completed.
SHA-512VL-1000:cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e484cd9337e44cef52f6206362cb98b015cc1e58b12de33a3eabdc7718837c791e7292861e27b9c7082fc2c5ea2d3ceb1d52dc1fdefdfd61e956e2278c73552cf3dda9416fa399600b5e46251faaf5327c49734538e18cf674faa4e895263d0646d1dae1ce6649105d4b1d124af39ce320f9f53deec1c8b5e695d535e6a3d83f2710c8f9591af5f0be72e82dd6ca0f923a4fa9d84aac5ce92d0c662120794749f68aa9d37bb00953d885aa77a574cf1247427e706356878495ada50f246280fbd81eaf020652d3b1bfdcf334cbac2c3e002d557cb882bb631a78fd580bcc1a0086a0ca094c61124ba1605fe1b5b8692cbb04c0848d8eebd0c3d403978a3c618d2172678d43748241ee6dbd48e5b92d9a8f24eeedfaa3b1fb4f69a345070bfe89369e6eac668807b78c69afea27ac4514abcb84bad6a178c0d8eff3e94b5f7e9e1
example1@example:~$

Edited by Al1000, 03 September 2016 - 12:19 AM.
delete download link


#13 wizardfromoz

wizardfromoz

  • Banned
  • 2,799 posts
  • OFFLINE
  •  
  • Gender:Male

Posted 14 March 2016 - 02:22 AM

 

...rather than terminate it, the project has been repurposed.

 

Cool, a man after my own heart.

 

With regard to the checksums, I would have put them in a BBCode eg "Spoiler" type option in the Reply pane.

 

Saves on scrolling, and those interested can examine as appropriate.

 

Cheers

 

:wizardball: Wiz



#14 Guest_hollowface_*

Guest_hollowface_*

  • Guests
  • OFFLINE
  •  

Posted 16 March 2016 - 11:21 PM

With regard to the checksums, I would have put them in a BBCode eg "Spoiler" type option in the Reply pane.

Probably a good idea seeing as the one is fairly big.

#15 Guest_hollowface_*

Guest_hollowface_*

  • Guests
  • OFFLINE
  •  

Posted 03 April 2016 - 06:23 PM

Ditto 2.0 Stable:
PmrvLx3.png
Ditto is an open-source hashing tool that acts as an extention to existing algorithms by providing variable length checksums when using algorithms that normally produce constant length checksums. To avoid confusion the checksums Ditto outputs are rebranded as "checksumtypeVL-DETAIL". Installation instructions, a copy of the license, and a list of dependencies are provided in the ZIP download.

Changes:
-A bug was found where if the detail is larger than the file the outputted checksum is for empty data. This has been fixed.
-Verifies that the file being hashed exists before attempting to hash
-Added some more code comments

Features:
-SHA-512VL hashing. More hashing algorithms may be added in the future.
-Output to stdout and a file, or just to stdout.
-User can adjust the detail value. This allows the user to control how many segments the input file will be read as, and therefore increase/decrease the strength of the outputted checksum, as well as the size.
-Compare checksum files.
-Ditto is split into multiple scripts to make it easier for third-party tools to interact with it.
-Provides both interactive, and non-interactive modes.

Checksums:
-SHA-512VL-129:
Spoiler

-SHA-512VL-1000:
Spoiler

-SHA-512:f7dede90c311ea18eef0752146e330c0d421556d86ee8c7b8b25bf6fda21b1b15c8b2ff1cad4f4764cc409de6d08a275d9589ccd6021bcc90e4c56c7ab3640c1
-SHA-256:8774b401ee7f47c050fe92a133f65d665fc69844c33d0cfccf5d7d2d08e64541
-SHA-1:1ddf6c8370fe6fb049de68a52c63b0c89c819df7
-MD6-512:ef63078ad5a7f8bbbb5c32847fa8c251c6614553d15567293ee78e65a77ef3c9d68cd76ecc85ee627983ec9f10dedd4a48e951aa94ae14896a02f8b334dbf02e
-MD6-256:0855f87c42156332552fa82b6a6597f38242747a0fac8b1f831801ee432ee10e
-MD5:b8d761debea07184e348176658c2b8f1
-CRC32:18111191

Download Links:

Edited by Al1000, 03 September 2016 - 12:20 AM.
delete download link





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users