Exetools  

Go Back   Exetools > General > General Discussion

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #10  
Old 03-12-2024, 07:19
chants chants is offline
VIP
 
Join Date: Jul 2016
Posts: 826
Rept. Given: 47
Rept. Rcvd 50 Times in 31 Posts
Thanks Given: 737
Thanks Rcvd at 1,140 Times in 529 Posts
chants Reputation: 51
.NET JIT is quite good, doing things unsafe is closer to C but there will only be some relatively small increase if you make the VB.NET code highly efficient. XORarrayValues should write directly into one if the two input arguments (and ^= mutable variant used, not x=x^y) or pass a third output buffer and reuse it. Also consider running the VS profiler to see line by line where most time is spent. If you still aren't happy after these basic steps, you can consider whether to spend the time rewriting in C.

Are you sure this isn't just CBC DES and directly decryptable extremely fast with Windows builtin libraries via .NETs System.Security.Cryptography? Ah nevermind, seems there is no way to inject the XORs between blocks. ECB mode and doing manually seems fine.

Last edited by chants; 03-12-2024 at 07:30.
Reply With Quote
 

Tags
des, desx

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is slow link to this forum Neptune General Discussion 7 12-31-2012 02:54
ExeTools is getting slow... baatazu General Discussion 19 07-29-2005 22:11
Emule is so slow for me Rhodium General Discussion 12 04-10-2005 05:47


All times are GMT +8. The time now is 21:32.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( Since 1998 )