15,891,902 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Joan FUHRMANN (Top 7 by date)
Joan FUHRMANN
1-Feb-23 12:43pm
View
Hello pkfox,
Indeed a large part of my code is made and I edited my question to remove it because I understood that I will not have any help.
I have never come to this forum to ask for a code ready to use. Instead of considering myself a thief I would have preferred a pseudo code for example to be able to understand my programming at best. I’m just starting out and looking for advice.
To prove myself you can see some of my code here: https://www.codeproject.com/Questions/5353088/Divide-each-HEX-into-a-string
Since I divide my BYTES directly at the opening thanks to the kind help provided on this post (thanks to them again!) which gives in modification:
filePath = openFileDialog.FileName;
var fileStream = openFileDialog.OpenFile();
byte[] readBytes = File.ReadAllBytes(filePath);
for (var i = 0; i < readBytes.Length; i++)
{
readBytes[i] /= 2;
}
foreach (byte s in readBytes)
{
Console.WriteLine(s);
}
byte[] data = readBytes;
I have since found help elsewhere and some tips have been given to extract the desired code and thus avoid converting my code to HEX and then again to BYTES to save the new file. This part is being finalized and I will have one step left to complete my program, which is to transform the encoded part.
Learning in progress...!
Have a great day.
Joan FUHRMANN
28-Jan-23 14:38pm
View
Hello OriginalGriff, so first of all thank you for your answer but it seems to me that you have not even looked at my question but only what I had undertaken so far. if you had looked at my question you would have seen that a large part of my code is already done and that I share it with everyone in order to help people who are just starting out like me. In addition, you would also have noticed that I ask the experts explaining where I am currently:
- If my code seems correct and what improvements could be made
- on the rest of my code I explain my goal, I analyzed my file in order to formalize the encoding of the file and above all I ask for leads on the best way to desobfuscate the code. in no case am I asking for a ready-to-use code.
Joan FUHRMANN
27-Jan-23 3:19am
View
Thank you! But I have the same problem as the CPallini solution:'convert' does not contain a definition for 'FromHexString'. Why ? My program is a Windows Form(.net Framework 4.8). You have a idea ?
Joan FUHRMANN
27-Jan-23 2:58am
View
I think this solution is the right one! However I have an error: 'convert' does not contain a definition for 'FromHexString'! Why? I’m sorry I started on C#!
Joan FUHRMANN
26-Jan-23 16:44pm
View
I finally succeeded my program in c#. maybe not the easiest language to start with but it works! thank you Graeme_Grant !!
Joan FUHRMANN
21-Jan-23 6:06am
View
Good morning,
Thank you for your answer Graeme!
The different stages of the program would be in human language:
- Click on a "open a file" button
- Select the file by a Windows dialog box
- Opening the file in HEX format. > non-visible for the user
- Analysis of the file to find the start and end delimiter (for example 0C 68) > non-visible by the user
- Extract the content code between the start and end delimiter
- Translate the content code between delimiters into ASCII format via a correspondence table (for example 60=A) > non-visible by the user
- Display in the program interface the extracted code translated in ASCII format
I will try to clarify my question: there are so many different languages and I do not know which one allows to do this in a simple way for a beginner wishing to learn. So I’m calling on you to direct me to plain language that would meet the needs of the program.
The goal being not to start on a specific language and to realize after 2 months that it is not possible to create a comparison table for example and so all have to start again...
Thank you again for your help:)
PS: sorry, for my English, I am French and as you know, all French people suck in English:D. Be lenient!
Joan FUHRMANN
21-Jan-23 6:05am
View
Deleted
Good morning,
Thank you for your answer Graeme!
The different stages of the program would be in human language:
- Click on a "open a file" button
- Select the file by a Windows dialog box
- Opening the file in HEX format. > non-visible for the user
- Analysis of the file to find the start and end delimiter (for example 0C 68) > non-visible by the user
- Extract the content code between the start and end delimiter
- Translate the content code between delimiters into ASCII format via a correspondence table (for example 60=A) > non-visible by the user
- Display in the program interface the extracted code translated in ASCII format
I will try to clarify my question: there are so many different languages and I do not know which one allows to do this in a simple way for a beginner wishing to learn. So I’m calling on you to direct me to plain language that would meet the needs of the program.
The goal being not to start on a specific language and to realize after 2 months that it is not possible to create a comparison table for example and so all have to start again...
Thank you again for your help:)
PS: sorry, for my English, I am French and as you know, all French people suck in English:D. Be lenient!
Show More