Is My Coding Program Worth Using?

  • Thread starter Thread starter JPC
  • Start date Start date
  • Tags Tags
    Coding Program
Click For Summary
SUMMARY

The forum discussion centers on the value of a custom coding program developed by a user, which encodes text by replacing each character with a 7-bit binary sequence, inverting it, and then encoding every 4 bits into a new character. The program's effectiveness is questioned due to its reliance on ASCII encoding, limiting its usability with Unicode. Critics suggest that the program's complexity does not equate to security, recommending established cryptography libraries like .NET's System.Security.Cryptography and algorithms such as Rijndael or TripleDES for more robust encryption solutions.

PREREQUISITES
  • Understanding of binary encoding and character representation
  • Familiarity with ASCII and Unicode character sets
  • Basic knowledge of cryptography concepts
  • Experience with .NET programming and security libraries
NEXT STEPS
  • Research .NET's System.Security.Cryptography library
  • Learn about Rijndael and TripleDES encryption algorithms
  • Explore advanced character encoding techniques in Unicode
  • Investigate the principles of secure coding practices
USEFUL FOR

Developers interested in cryptography, programmers evaluating custom encoding solutions, and anyone seeking to enhance their understanding of secure text encoding methods.

JPC
Messages
204
Reaction score
1
hey

i have built a coding program like 1 year ago

and now that i kinda studied crythography in class, i was wondering what my coding system is worth (codes text)

i won't give too much details, but my program ,

first : replaces every character by a 7 bits (sequence of seven 0s or 1s)
then inverts
then codes every 4 bits with a new character

http://thomas.lextrait.com/jpc/vbr/jpccoder.zip

(my name is not thomas lextrait, its one of my friends servers lol)
 
Last edited by a moderator:
Technology news on Phys.org
That'll work depending on the character encoding that you're using. Unicode for example, even with UTF-8 has more characters than you can store in 7 bits, so you'd be unable to get back the original string unless you restrict its usage to ASCII.

In any case, when you "code every 4 bits with a new character" you're just pretty much inserting 0000 every 4 bits, which is not very sophisticated, as is the inversion.

I would rather use some existing cryptography libraries, such as .NETs System.Security.Cryptography, and use something like Rijndaels or TripleDES.
 
no but what i mean is that

with my program, if you try :

- coding "a" and store result as A
- coding "b" and store result as B

the result of coding "ab" will not be the same as AB

further more if you code for example a long text, and that you take away for example a character in the middle of the coded text, the decoded text would be half wrong, and all wrong if it is in the end

So all these aspects add to my coding program's complexity
 
Last edited:

Similar threads

  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 1 ·
Replies
1
Views
4K
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 32 ·
2
Replies
32
Views
4K
  • · Replies 1 ·
Replies
1
Views
7K
Replies
1
Views
2K
  • · Replies 13 ·
Replies
13
Views
5K
  • Sticky
  • · Replies 13 ·
Replies
13
Views
8K
  • · Replies 75 ·
3
Replies
75
Views
7K