haiti-hash 0.0.1 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE.txt +2 -1
  3. data/bin/haiti +7 -17
  4. data/data/commons.json +29 -0
  5. data/data/prototypes.json +807 -54
  6. data/lib/haiti.rb +8 -1
  7. data/lib/haiti/version.rb +1 -1
  8. metadata +29 -77
  9. data/.editorconfig +0 -21
  10. data/.gitignore +0 -8
  11. data/.rubocop.yml +0 -25
  12. data/.yardopts +0 -4
  13. data/.yardopts-dev +0 -6
  14. data/Gemfile +0 -6
  15. data/Gemfile.lock +0 -56
  16. data/README.md +0 -32
  17. data/Rakefile +0 -10
  18. data/bin/haiti_setup +0 -7
  19. data/docs/.nojekyll +0 -0
  20. data/docs/CHANGELOG.md +0 -3
  21. data/docs/README.md +0 -22
  22. data/docs/_coverpage.md +0 -15
  23. data/docs/_media/logo.png +0 -0
  24. data/docs/_navbar.md +0 -2
  25. data/docs/_sidebar.md +0 -15
  26. data/docs/about.md +0 -5
  27. data/docs/index.html +0 -31
  28. data/docs/pages/demo.md +0 -3
  29. data/docs/pages/documentation.md +0 -34
  30. data/docs/pages/install.md +0 -90
  31. data/docs/pages/publishing.md +0 -39
  32. data/docs/pages/quick-start.md +0 -39
  33. data/docs/pages/usage.md +0 -58
  34. data/docs/vendor/docsify.js +0 -1
  35. data/docs/vendor/plugins/emoji.min.js +0 -1
  36. data/docs/vendor/plugins/search.min.js +0 -1
  37. data/docs/vendor/prismjs/components/prism-ruby.min.js +0 -1
  38. data/docs/vendor/themes/vue.css +0 -1
  39. data/docs/why.md +0 -35
  40. data/docs/yard/HashIdentifier.html +0 -479
  41. data/docs/yard/HashIdentifier/Chf.html +0 -590
  42. data/docs/yard/Version.html +0 -126
  43. data/docs/yard/_index.html +0 -138
  44. data/docs/yard/class_list.html +0 -51
  45. data/docs/yard/css/common.css +0 -1
  46. data/docs/yard/css/full_list.css +0 -58
  47. data/docs/yard/css/style.css +0 -496
  48. data/docs/yard/file.LICENSE.html +0 -70
  49. data/docs/yard/file.README.html +0 -106
  50. data/docs/yard/file_list.html +0 -61
  51. data/docs/yard/frames.html +0 -17
  52. data/docs/yard/index.html +0 -106
  53. data/docs/yard/js/app.js +0 -303
  54. data/docs/yard/js/full_list.js +0 -216
  55. data/docs/yard/js/jquery.js +0 -4
  56. data/docs/yard/method_list.html +0 -115
  57. data/docs/yard/top-level-namespace.html +0 -112
  58. data/test/test_haiti.rb +0 -33
@@ -1,590 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>
7
- Class: HashIdentifier::Chf
8
-
9
- &mdash; Documentation by YARD 0.9.20
10
-
11
- </title>
12
-
13
- <link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" />
14
-
15
- <link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
16
-
17
- <script type="text/javascript" charset="utf-8">
18
- pathId = "HashIdentifier::Chf";
19
- relpath = '../';
20
- </script>
21
-
22
-
23
- <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
24
-
25
- <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
26
-
27
-
28
- </head>
29
- <body>
30
- <div class="nav_wrap">
31
- <iframe id="nav" src="../class_list.html?1"></iframe>
32
- <div id="resizer"></div>
33
- </div>
34
-
35
- <div id="main" tabindex="-1">
36
- <div id="header">
37
- <div id="menu">
38
-
39
- <a href="../_index.html">Index (C)</a> &raquo;
40
- <span class='title'><span class='object_link'><a href="../HashIdentifier.html" title="HashIdentifier (class)">HashIdentifier</a></span></span>
41
- &raquo;
42
- <span class="title">Chf</span>
43
-
44
- </div>
45
-
46
- <div id="search">
47
-
48
- <a class="full_list_link" id="class_list_link"
49
- href="../class_list.html">
50
-
51
- <svg width="24" height="24">
52
- <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
53
- <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
54
- <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
55
- </svg>
56
- </a>
57
-
58
- </div>
59
- <div class="clear"></div>
60
- </div>
61
-
62
- <div id="content"><h1>Class: HashIdentifier::Chf
63
-
64
-
65
-
66
- </h1>
67
- <div class="box_info">
68
-
69
- <dl>
70
- <dt>Inherits:</dt>
71
- <dd>
72
- <span class="inheritName">Object</span>
73
-
74
- <ul class="fullTree">
75
- <li>Object</li>
76
-
77
- <li class="next">HashIdentifier::Chf</li>
78
-
79
- </ul>
80
- <a href="#" class="inheritanceTree">show all</a>
81
-
82
- </dd>
83
- </dl>
84
-
85
-
86
-
87
-
88
-
89
-
90
-
91
-
92
-
93
-
94
-
95
- <dl>
96
- <dt>Defined in:</dt>
97
- <dd>lib/haiti/hash.rb</dd>
98
- </dl>
99
-
100
- </div>
101
-
102
- <h2>Overview</h2><div class="docstring">
103
- <div class="discussion">
104
-
105
- <p>Cryptographic hash function object</p>
106
-
107
-
108
- </div>
109
- </div>
110
- <div class="tags">
111
-
112
-
113
- </div>
114
-
115
-
116
-
117
- <h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
118
- <ul class="summary">
119
-
120
- <li class="public ">
121
- <span class="summary_signature">
122
-
123
- <a href="#extended-instance_method" title="#extended (instance method)">#<strong>extended</strong> &#x21d2; Boolean </a>
124
-
125
-
126
-
127
- </span>
128
-
129
-
130
-
131
-
132
- <span class="note title readonly">readonly</span>
133
-
134
-
135
-
136
-
137
-
138
-
139
-
140
-
141
-
142
- <span class="summary_desc"><div class='inline'>
143
- <p>Display by default or not.</p>
144
- </div></span>
145
-
146
- </li>
147
-
148
-
149
- <li class="public ">
150
- <span class="summary_signature">
151
-
152
- <a href="#hashcat-instance_method" title="#hashcat (instance method)">#<strong>hashcat</strong> &#x21d2; String </a>
153
-
154
-
155
-
156
- </span>
157
-
158
-
159
-
160
-
161
- <span class="note title readonly">readonly</span>
162
-
163
-
164
-
165
-
166
-
167
-
168
-
169
-
170
-
171
- <span class="summary_desc"><div class='inline'>
172
- <p>Hashcat hash ID.</p>
173
- </div></span>
174
-
175
- </li>
176
-
177
-
178
- <li class="public ">
179
- <span class="summary_signature">
180
-
181
- <a href="#john-instance_method" title="#john (instance method)">#<strong>john</strong> &#x21d2; String </a>
182
-
183
-
184
-
185
- </span>
186
-
187
-
188
-
189
-
190
- <span class="note title readonly">readonly</span>
191
-
192
-
193
-
194
-
195
-
196
-
197
-
198
-
199
-
200
- <span class="summary_desc"><div class='inline'>
201
- <p>John the Ripper hash reference.</p>
202
- </div></span>
203
-
204
- </li>
205
-
206
-
207
- <li class="public ">
208
- <span class="summary_signature">
209
-
210
- <a href="#name-instance_method" title="#name (instance method)">#<strong>name</strong> &#x21d2; String </a>
211
-
212
-
213
-
214
- </span>
215
-
216
-
217
-
218
-
219
- <span class="note title readonly">readonly</span>
220
-
221
-
222
-
223
-
224
-
225
-
226
-
227
-
228
-
229
- <span class="summary_desc"><div class='inline'>
230
- <p>Name of the identified hash type.</p>
231
- </div></span>
232
-
233
- </li>
234
-
235
-
236
- </ul>
237
-
238
-
239
-
240
-
241
-
242
- <h2>
243
- Instance Method Summary
244
- <small><a href="#" class="summary_toggle">collapse</a></small>
245
- </h2>
246
-
247
- <ul class="summary">
248
-
249
- <li class="public ">
250
- <span class="summary_signature">
251
-
252
- <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(mode) &#x21d2; Chf </a>
253
-
254
-
255
-
256
- </span>
257
-
258
-
259
- <span class="note title constructor">constructor</span>
260
-
261
-
262
-
263
-
264
-
265
-
266
-
267
-
268
- <span class="summary_desc"><div class='inline'>
269
- <p>A new instance of Chf.</p>
270
- </div></span>
271
-
272
- </li>
273
-
274
-
275
- </ul>
276
-
277
-
278
- <div id="constructor_details" class="method_details_list">
279
- <h2>Constructor Details</h2>
280
-
281
- <div class="method_details first">
282
- <h3 class="signature first" id="initialize-instance_method">
283
-
284
- #<strong>initialize</strong>(mode) &#x21d2; <tt><span class='object_link'><a href="" title="HashIdentifier::Chf (class)">Chf</a></span></tt>
285
-
286
-
287
-
288
-
289
-
290
- </h3><div class="docstring">
291
- <div class="discussion">
292
-
293
- <p>Returns a new instance of Chf</p>
294
-
295
-
296
- </div>
297
- </div>
298
- <div class="tags">
299
-
300
-
301
- </div><table class="source_code">
302
- <tr>
303
- <td>
304
- <pre class="lines">
305
-
306
-
307
- 16
308
- 17
309
- 18
310
- 19
311
- 20
312
- 21</pre>
313
- </td>
314
- <td>
315
- <pre class="code"><span class="info file"># File 'lib/haiti/hash.rb', line 16</span>
316
-
317
- <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_mode'>mode</span><span class='rparen'>)</span>
318
- <span class='ivar'>@name</span> <span class='op'>=</span> <span class='id identifier rubyid_mode'>mode</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>name</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span>
319
- <span class='ivar'>@john</span> <span class='op'>=</span> <span class='id identifier rubyid_mode'>mode</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>john</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span>
320
- <span class='ivar'>@hashcat</span> <span class='op'>=</span> <span class='id identifier rubyid_mode'>mode</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>hashcat</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span>
321
- <span class='ivar'>@extended</span> <span class='op'>=</span> <span class='id identifier rubyid_mode'>mode</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>extended</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span>
322
- <span class='kw'>end</span></pre>
323
- </td>
324
- </tr>
325
- </table>
326
- </div>
327
-
328
- </div>
329
-
330
- <div id="instance_attr_details" class="attr_details">
331
- <h2>Instance Attribute Details</h2>
332
-
333
-
334
- <span id=""></span>
335
- <div class="method_details first">
336
- <h3 class="signature first" id="extended-instance_method">
337
-
338
- #<strong>extended</strong> &#x21d2; <tt>Boolean</tt> <span class="extras">(readonly)</span>
339
-
340
-
341
-
342
-
343
-
344
- </h3><div class="docstring">
345
- <div class="discussion">
346
-
347
- <p>Returns Display by default or not. If true it is displayed in extended mode only, mostly hash type using salt.</p>
348
-
349
-
350
- </div>
351
- </div>
352
- <div class="tags">
353
-
354
- <p class="tag_title">Returns:</p>
355
- <ul class="return">
356
-
357
- <li>
358
-
359
-
360
- <span class='type'>(<tt>Boolean</tt>)</span>
361
-
362
-
363
-
364
- &mdash;
365
- <div class='inline'>
366
- <p>Display by default or not. If true it is displayed in extended mode only, mostly hash type using salt.</p>
367
- </div>
368
-
369
- </li>
370
-
371
- </ul>
372
-
373
- </div><table class="source_code">
374
- <tr>
375
- <td>
376
- <pre class="lines">
377
-
378
-
379
- 14
380
- 15
381
- 16</pre>
382
- </td>
383
- <td>
384
- <pre class="code"><span class="info file"># File 'lib/haiti/hash.rb', line 14</span>
385
-
386
- <span class='kw'>def</span> <span class='id identifier rubyid_extended'>extended</span>
387
- <span class='ivar'>@extended</span>
388
- <span class='kw'>end</span></pre>
389
- </td>
390
- </tr>
391
- </table>
392
- </div>
393
-
394
-
395
- <span id=""></span>
396
- <div class="method_details ">
397
- <h3 class="signature " id="hashcat-instance_method">
398
-
399
- #<strong>hashcat</strong> &#x21d2; <tt>String</tt> <span class="extras">(readonly)</span>
400
-
401
-
402
-
403
-
404
-
405
- </h3><div class="docstring">
406
- <div class="discussion">
407
-
408
- <p>Returns Hashcat hash ID. nil if unknown.</p>
409
-
410
-
411
- </div>
412
- </div>
413
- <div class="tags">
414
-
415
- <p class="tag_title">Returns:</p>
416
- <ul class="return">
417
-
418
- <li>
419
-
420
-
421
- <span class='type'>(<tt>String</tt>)</span>
422
-
423
-
424
-
425
- &mdash;
426
- <div class='inline'>
427
- <p>Hashcat hash ID. nil if unknown.</p>
428
- </div>
429
-
430
- </li>
431
-
432
- </ul>
433
-
434
- </div><table class="source_code">
435
- <tr>
436
- <td>
437
- <pre class="lines">
438
-
439
-
440
- 11
441
- 12
442
- 13</pre>
443
- </td>
444
- <td>
445
- <pre class="code"><span class="info file"># File 'lib/haiti/hash.rb', line 11</span>
446
-
447
- <span class='kw'>def</span> <span class='id identifier rubyid_hashcat'>hashcat</span>
448
- <span class='ivar'>@hashcat</span>
449
- <span class='kw'>end</span></pre>
450
- </td>
451
- </tr>
452
- </table>
453
- </div>
454
-
455
-
456
- <span id=""></span>
457
- <div class="method_details ">
458
- <h3 class="signature " id="john-instance_method">
459
-
460
- #<strong>john</strong> &#x21d2; <tt>String</tt> <span class="extras">(readonly)</span>
461
-
462
-
463
-
464
-
465
-
466
- </h3><div class="docstring">
467
- <div class="discussion">
468
-
469
- <p>Returns John the Ripper hash reference. nil if unknown.</p>
470
-
471
-
472
- </div>
473
- </div>
474
- <div class="tags">
475
-
476
- <p class="tag_title">Returns:</p>
477
- <ul class="return">
478
-
479
- <li>
480
-
481
-
482
- <span class='type'>(<tt>String</tt>)</span>
483
-
484
-
485
-
486
- &mdash;
487
- <div class='inline'>
488
- <p>John the Ripper hash reference. nil if unknown.</p>
489
- </div>
490
-
491
- </li>
492
-
493
- </ul>
494
-
495
- </div><table class="source_code">
496
- <tr>
497
- <td>
498
- <pre class="lines">
499
-
500
-
501
- 9
502
- 10
503
- 11</pre>
504
- </td>
505
- <td>
506
- <pre class="code"><span class="info file"># File 'lib/haiti/hash.rb', line 9</span>
507
-
508
- <span class='kw'>def</span> <span class='id identifier rubyid_john'>john</span>
509
- <span class='ivar'>@john</span>
510
- <span class='kw'>end</span></pre>
511
- </td>
512
- </tr>
513
- </table>
514
- </div>
515
-
516
-
517
- <span id=""></span>
518
- <div class="method_details ">
519
- <h3 class="signature " id="name-instance_method">
520
-
521
- #<strong>name</strong> &#x21d2; <tt>String</tt> <span class="extras">(readonly)</span>
522
-
523
-
524
-
525
-
526
-
527
- </h3><div class="docstring">
528
- <div class="discussion">
529
-
530
- <p>Returns name of the identified hash type</p>
531
-
532
-
533
- </div>
534
- </div>
535
- <div class="tags">
536
-
537
- <p class="tag_title">Returns:</p>
538
- <ul class="return">
539
-
540
- <li>
541
-
542
-
543
- <span class='type'>(<tt>String</tt>)</span>
544
-
545
-
546
-
547
- &mdash;
548
- <div class='inline'>
549
- <p>name of the identified hash type</p>
550
- </div>
551
-
552
- </li>
553
-
554
- </ul>
555
-
556
- </div><table class="source_code">
557
- <tr>
558
- <td>
559
- <pre class="lines">
560
-
561
-
562
- 7
563
- 8
564
- 9</pre>
565
- </td>
566
- <td>
567
- <pre class="code"><span class="info file"># File 'lib/haiti/hash.rb', line 7</span>
568
-
569
- <span class='kw'>def</span> <span class='id identifier rubyid_name'>name</span>
570
- <span class='ivar'>@name</span>
571
- <span class='kw'>end</span></pre>
572
- </td>
573
- </tr>
574
- </table>
575
- </div>
576
-
577
- </div>
578
-
579
-
580
- </div>
581
-
582
- <div id="footer">
583
- Generated on Wed Oct 16 18:50:31 2019 by
584
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
585
- 0.9.20 (ruby-2.6.2).
586
- </div>
587
-
588
- </div>
589
- </body>
590
- </html>