• I removed the www from the URL, please update your bookmarks and pay attention to the bottom of the screen if using Google Chrome to allow push notifications again.

New packaging programme

Redouane

Member
Joined
Apr 9, 2019
Messages
8
Programming Experience
Beginner
Hello
This is my first post and I wanted to share with you what I did yesterday
so I was talking with someone about a documents scanner app that he is using
this app can export to images and pdf and he uses it to scan important documents.
He told me that this app is insecure and hackers can easily jump into his phone and get the documents
so I told him that I can make a programme that will pack a document ( PDF or image ) and put it in a BIN file that is normally hard to read and decompile, as to decompile it you need the file structure class that it's me only who own it.

so yeah I made the programme, it took me some hours but the result is amazing :)

and I even added the passwords feature to protect the file with a password (a hashed string btw )

well that's it, I just wanted to share with you the fact that modern problems require modern C# developers ??

( quick question : is there a way that i can build my own hashing algorithm to make the programme more secure, thnx in advance :) )
 

jmcilhinney

C# Forum Moderator
Staff member
Joined
Apr 23, 2011
Messages
2,230
Location
Sydney, Australia
Programming Experience
10+
What makes you think that an algorithm you design yourself would be more secure than those that are currently in use and have withstood all the efforts of those trying to crack them for as long as they have?
 

Redouane

Member
Joined
Apr 9, 2019
Messages
8
Programming Experience
Beginner
What makes you think that an algorithm you design yourself would be more secure than those that are currently in use and have withstood all the efforts of those trying to crack them for as long as they have?
the thing that makes me think like that is : it's me who make it :p
no one will know what i did to do it not like well-known algorithms that have already been cracked :)
 

Skydiver

Well-known member
Joined
Apr 6, 2019
Messages
127
Location
Virginia Beach, VA
Programming Experience
10+
But that's the point. A secure algorithm in not dependent on the algorithm itself being secret. It's dependent on the complexity of the output not being analyzable to be able to either deduce the original clear text or the key used to encrypt the clear text.
 

jmcilhinney

C# Forum Moderator
Staff member
Joined
Apr 23, 2011
Messages
2,230
Location
Sydney, Australia
Programming Experience
10+
no one will know what i did to do it not like well-known algorithms that have already been cracked :)
So use one that hasn't been cracked, which you should already be doing. If people can crack algorithms created by the mathematics and computer science minds around, how do you think yours is going to fare?
 

Redouane

Member
Joined
Apr 9, 2019
Messages
8
Programming Experience
Beginner
i want to make a good algorithm, i know it is hard ( soooo hard ) but wanna give it a try and i don't care about security as i'm doing it for fun :)
 

jmcilhinney

C# Forum Moderator
Staff member
Joined
Apr 23, 2011
Messages
2,230
Location
Sydney, Australia
Programming Experience
10+
i want to make a good algorithm, i know it is hard ( soooo hard ) but wanna give it a try and i don't care about security as i'm doing it for fun :)
Then why did your original question specifically state that the purpose was to make the program more secure? Of course you can create your own algorithm. Of course it will be LESS secure than the alternatives. If you say that you want MORE secure, as you did originally, then then answer is theoretically "yes" but practically "no". If you don't actually care about security then of course it's possible.
 

Redouane

Member
Joined
Apr 9, 2019
Messages
8
Programming Experience
Beginner
Then why did your original question specifically state that the purpose was to make the program more secure? Of course you can create your own algorithm. Of course it will be LESS secure than the alternatives. If you say that you want MORE secure, as you did originally, then then answer is theoretically "yes" but practically "no". If you don't actually care about security then of course it's possible.
i said it's for fun, but i wanted more secure, i want to learn hashing algorithms in that simple programme, so i can use the knowledge in other serious onces
 

jmcilhinney

C# Forum Moderator
Staff member
Joined
Apr 23, 2011
Messages
2,230
Location
Sydney, Australia
Programming Experience
10+
i said it's for fun
By all means, have as much fun as you want.
but i wanted more secure
It won't be.
i want to learn hashing algorithms in that simple programme, so i can use the knowledge in other serious onces
Hash algorithms are mathematics, with some of their applications being in programming. Creating a hash algorithm useful for security is not something a casual programmer does. It's just not going to happen.
 

Redouane

Member
Joined
Apr 9, 2019
Messages
8
Programming Experience
Beginner
By all means, have as much fun as you want.

It won't be.

Hash algorithms are mathematics, with some of their applications being in programming. Creating a hash algorithm useful for security is not something a casual programmer does. It's just not going to happen.
I know some Maths minds, maybe they can help :)
 
Top Bottom