Is My Coding Program Worth Using?

  • Thread starter Thread starter JPC
  • Start date Start date
  • Tags Tags
    Coding Program
AI Thread Summary
The discussion revolves around a custom coding program developed a year ago, which utilizes a unique method of encoding text through a series of steps: replacing characters with 7-bit sequences, inverting those sequences, and then encoding every 4 bits into a new character. Concerns are raised regarding the limitations of this approach, particularly with character encoding systems like Unicode, which exceed the 7-bit capacity and could lead to data loss if not restricted to ASCII. The method's complexity is highlighted, noting that encoding "ab" results in a different output than encoding "a" and "b" separately, and that removing a character from the coded text significantly affects the integrity of the decoded output. Suggestions are made to consider established cryptographic libraries for more robust security solutions.
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:
Dear Peeps I have posted a few questions about programing on this sectio of the PF forum. I want to ask you veterans how you folks learn program in assembly and about computer architecture for the x86 family. In addition to finish learning C, I am also reading the book From bits to Gates to C and Beyond. In the book, it uses the mini LC3 assembly language. I also have books on assembly programming and computer architecture. The few famous ones i have are Computer Organization and...
I had a Microsoft Technical interview this past Friday, the question I was asked was this : How do you find the middle value for a dataset that is too big to fit in RAM? I was not able to figure this out during the interview, but I have been look in this all weekend and I read something online that said it can be done at O(N) using something called the counting sort histogram algorithm ( I did not learn that in my advanced data structures and algorithms class). I have watched some youtube...

Similar threads

Replies
1
Views
3K
Replies
3
Views
2K
Replies
1
Views
6K
Replies
13
Views
4K
Replies
13
Views
7K
Replies
75
Views
6K
Back
Top