Transform a few numbers into one with key

  • Thread starter Thread starter gheelengooi
  • Start date Start date
  • Tags Tags
    Numbers Transform
Click For Summary
SUMMARY

This discussion centers on the feasibility of transforming multiple numbers into a single number using a reversible key, with a focus on data compression techniques. The consensus is that compressing binary data into a smaller size without information loss is provably impossible. Instead, utilizing existing data compression tools like gzip for *NIX systems or exploring programming libraries for various languages is recommended. The conversation emphasizes that specialized knowledge about the data can lead to better compression strategies.

PREREQUISITES
  • Understanding of data compression principles
  • Familiarity with ASCII representation of numbers
  • Basic knowledge of cryptography concepts
  • Experience with programming languages that support compression libraries
NEXT STEPS
  • Research existing data compression algorithms and tools, specifically gzip and gunzip
  • Explore programming libraries for data compression in languages such as Python or Java
  • Study the properties of data types that can be compressed effectively
  • Investigate advanced topics in cryptography related to reversible transformations
USEFUL FOR

This discussion is beneficial for data scientists, software developers, and engineers interested in data compression techniques and cryptographic transformations for efficient data transmission.

gheelengooi
Messages
12
Reaction score
0
Dear all,

Basically I am thinking of a possibility that I could transform several numbers into one using a key, which is reversible by using the same key afterwards, transform the one number back into its original separated form.

I am not really good in number theory or cryptography but I tried searching on Google, I see that there might be some solutions in these fields but I am not sure whether this is feasible. I do understand that doing that will cause some errors so I would like to study it.

In fact, I am thinking that representing the numbers using ASCII and perform some mathematical transformation might produce far better results than pure number manipulation.

Does anyone have any idea or experience of doing this? If yes, is there any reference source that you may provide?

Thank you so much!

p/s: I am doing this because I just want to compress a large array of data into a small size to save power on wireless radio transmission.
 
Technology news on Phys.org
gheelengooi said:
p/s: I am doing this because I just want to compress a large array of data into a small size to save power on wireless radio transmission.
This* is provably impossible to do. For any scheme you try to invent, you'll find that you increase the size on average.

*: Compressing binary data into a smaller amount of binary data without losing information[/size]



Now, if your data has special properties (e.g. it's a text document), there are things you can do. But people have already written programs to do this; using one of those is likely to be easier and far better than anything you try to do, unless you have some specialized knowledge about the data you're trying to compress.

If you're using a *NIX system, you should already have gzip and gunzip. I don't know any convenient choices for windows, though.

Several programming languages have libraries to let you do compression.


If you're just thinking about this for the fun of thinking about it, a good keyword would be "data compression".
 

Similar threads

Replies
3
Views
1K
Replies
14
Views
3K
Replies
25
Views
4K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 20 ·
Replies
20
Views
2K
  • · Replies 17 ·
Replies
17
Views
4K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
21
Views
4K
  • · Replies 3 ·
Replies
3
Views
1K