@@ -74,6 +74,9 @@ private void LoadActiveHash()
74
74
// break;
75
75
//}
76
76
77
+ chkSHA35 . Checked = Options . CurrentOptions . HashOptions . SHA3_512 ;
78
+ chkSHA33 . Checked = Options . CurrentOptions . HashOptions . SHA3_384 ;
79
+ chkSHA32 . Checked = Options . CurrentOptions . HashOptions . SHA3_256 ;
77
80
chkRIPEMD160 . Checked = Options . CurrentOptions . HashOptions . RIPEMD160 ;
78
81
chkSHA512 . Checked = Options . CurrentOptions . HashOptions . SHA512 ;
79
82
chkSHA384 . Checked = Options . CurrentOptions . HashOptions . SHA384 ;
@@ -126,6 +129,21 @@ private void Compare()
126
129
{
127
130
if ( x . RIPEMD160 == txtExpected . Text ) resultBox . Items . Add ( x . File ) ;
128
131
}
132
+
133
+ if ( chkSHA32 . Checked )
134
+ {
135
+ if ( x . SHA3_256 == txtExpected . Text ) resultBox . Items . Add ( x . File ) ;
136
+ }
137
+
138
+ if ( chkSHA33 . Checked )
139
+ {
140
+ if ( x . SHA3_384 == txtExpected . Text ) resultBox . Items . Add ( x . File ) ;
141
+ }
142
+
143
+ if ( chkSHA35 . Checked )
144
+ {
145
+ if ( x . SHA3_512 == txtExpected . Text ) resultBox . Items . Add ( x . File ) ;
146
+ }
129
147
}
130
148
131
149
if ( resultBox . Items . Count > 0 )
@@ -208,5 +226,20 @@ private void chkRIPEMD160_CheckedChanged(object sender, EventArgs e)
208
226
{
209
227
if ( chkRIPEMD160 . Checked ) Options . CurrentOptions . ActiveHash = 7 ;
210
228
}
229
+
230
+ private void chkSHA32_CheckedChanged ( object sender , EventArgs e )
231
+ {
232
+ if ( chkSHA32 . Checked ) Options . CurrentOptions . ActiveHash = 8 ;
233
+ }
234
+
235
+ private void chkSHA33_CheckedChanged ( object sender , EventArgs e )
236
+ {
237
+ if ( chkSHA33 . Checked ) Options . CurrentOptions . ActiveHash = 9 ;
238
+ }
239
+
240
+ private void chkSHA35_CheckedChanged ( object sender , EventArgs e )
241
+ {
242
+ if ( chkSHA35 . Checked ) Options . CurrentOptions . ActiveHash = 10 ;
243
+ }
211
244
}
212
245
}
0 commit comments