Bitcoin Forum
April 25, 2024, 09:04:58 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: A new generation of encryption that would change the world... and bitcoin  (Read 708 times)
Glimanas (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
December 29, 2015, 04:31:15 PM
 #1

What if it would be possible to create a new kind of encryption that it would basically create a hash for a file of any size and the transfer of this file would just be done by sending the hash?

You would be able to send TBs of data instantaneously.

In the bitcoin world this would be revolutionary in many ways, if you look how long you have to wait in case you want to sync a bitcoin wallet from scratch...

In practical terms, this magic algorithm would create an hash for the file byte stream, let's say for a file of 1 TB of size, you would then send this hash to someone, the hash would be inserted in an app that would decrypt it and basically the file byte stream would be created right there, locally on the receivers pc.

Any ideas if this is actually possible or if there is something out there or someone working on something similar?
1714035898
Hero Member
*
Offline Offline

Posts: 1714035898

View Profile Personal Message (Offline)

Ignore
1714035898
Reply with quote  #2

1714035898
Report to moderator
In order to get the maximum amount of activity points possible, you just need to post once per day on average. Skipping days is OK as long as you maintain the average.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714035898
Hero Member
*
Offline Offline

Posts: 1714035898

View Profile Personal Message (Offline)

Ignore
1714035898
Reply with quote  #2

1714035898
Report to moderator
1714035898
Hero Member
*
Offline Offline

Posts: 1714035898

View Profile Personal Message (Offline)

Ignore
1714035898
Reply with quote  #2

1714035898
Report to moderator
DannyHamilton
Legendary
*
Offline Offline

Activity: 3374
Merit: 4606



View Profile
December 29, 2015, 04:53:58 PM
 #2

Yes.

Compression already exists.  It has existed for many decades.

Compression can reduce information to its minimum essential storage.  However, to compress information beyond its minimum essential storage would require losing some of the information (that's what jpeg compression does, it throws out information that it decides isn't typically "important").

Newer and better compression techniques will continue to be devised, but you're never going to store TBs of actual information in kilobytes of storage.

You may as well be asking:

"What if it would be possible to create a new kind of travel that would basically create a way to travel backwards in time to early 2009? You would be able to mine entire blocks of 50 BTC every 10 minutes with your desktop computer. In the bitcoin world this would be revolutionary in many ways, if you look at how long you have to wait if you want to mine a block today. In practical terms this travel would move you backwards through time instead of space, and basically you would be able to go back to 2009.

Any ideas if this is actually possible or if there is something out there or someone working on something similar?"
Glimanas (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
December 29, 2015, 05:08:52 PM
Last edit: December 29, 2015, 05:53:27 PM by Glimanas
 #3


Newer and better compression techniques will continue to be devised, but you're never going to store TBs of actual information in kilobytes of storage.


Sure about that? I don't really like the word "never".

What if you can compress TBs of data to something like this:

d14a028c2a3a2bc9476102bb288234c415a2b01f828ea62ac5b3e42f

If everyone would always say never and actually do nothing about ideas you would not be sitting today in the 21st Century in front of a computer typing some text and sending it across the world in a fraction of a second.
achow101
Staff
Legendary
*
Offline Offline

Activity: 3374
Merit: 6535


Just writing some code


View Profile WWW
December 29, 2015, 05:27:23 PM
 #4


Newer and better compression techniques will continue to be devised, but you're never going to store TBs of actual information in kilobytes of storage.


Sure about that? I don't really like the word "never".

What if you can compress TBs of data to something like this:

d14a028c2a3a2bc9476102bb288234c415a2b01f828ea62ac5b3e42f

If everyone would always say never and actually do nothing about ideas you would not be sitting today in the 21st Century in from of a computer typing some text and sending it across the world in a fraction of a second.
First of all, that string is not kilobytes, that is 29 bytes of data, and that is way too small. Sure there may be newer and better algorithms to keep compressing data, but there is a limit. You will lose too much data so that when you decompress it, the data isn't complete and becomes unusable. It may happen and be able to compress TBs of data to Mb or even Kb, but it probably isn't happening in your lifetime.

OROBTC
Legendary
*
Offline Offline

Activity: 2912
Merit: 1852



View Profile
December 29, 2015, 05:33:54 PM
 #5

...

I am winging this here, and no doubt missing some relevant technology, but the below *seems* possible:


1)  You have a file of 200 photos you would like to send (say of chip designs to an Intel or someone).

2)  With a new publicly available program and hashing function, you hash that file to something like:

     d14a028c2a3a2bc9476102bb288234c415a2b01f828ea62ac5b3e42f

3)  You put a password on your hash function, so that the intended receiver can enter the hash no. and password into that program

4)  The program* then crunches out the original file (photos in this case).


* One thing (among many other things) I do not know is if hashing functions can be run in reverse by a program...


EDIT: Maybe the hashing function could be modified so that extra characters would give the program additional instructions in how to reconstruct the original files... (?)
achow101
Staff
Legendary
*
Offline Offline

Activity: 3374
Merit: 6535


Just writing some code


View Profile WWW
December 29, 2015, 05:37:42 PM
 #6

...

I am winging this here, and no doubt missing some relevant technology, but the below *seems* possible:

1)  You have a file of 200 photos you would like to send (say of chip designs to an Intel or someone).

2)  With a new publicly available program and hashing function, you hash that file to something like:

     d14a028c2a3a2bc9476102bb288234c415a2b01f828ea62ac5b3e42f

3)  You put a password on your hash function, so that the intended receiver can enter the hash no. and password into that program

4)  The program* then crunches out the original file (photos in this case).


* One thing (among many other things) I do not know is if hashing functions can be run in reverse by a program...
Hashes are one way functions. They cannot be reversed.

Glimanas (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
December 29, 2015, 05:53:01 PM
 #7

...

I am winging this here, and no doubt missing some relevant technology, but the below *seems* possible:


1)  You have a file of 200 photos you would like to send (say of chip designs to an Intel or someone).

2)  With a new publicly available program and hashing function, you hash that file to something like:

     d14a028c2a3a2bc9476102bb288234c415a2b01f828ea62ac5b3e42f

3)  You put a password on your hash function, so that the intended receiver can enter the hash no. and password into that program

4)  The program* then crunches out the original file (photos in this case).


* One thing (among many other things) I do not know is if hashing functions can be run in reverse by a program...


EDIT: Maybe the hashing function could be modified so that extra characters would give the program additional instructions in how to reconstruct the original files... (?)

You got the idea.

However of course this could not be done with a 1 way encryption method like SHA. It had to be with some kind of new 2 way encryption method.

I think there is room to evolve here, and maybe doing such an algorithm is not a hard as it looks.

Just a quick and dirty example:

Lets say this new algorithm would simply remove some kind of byte stream repetitions and would just store the position of those removed repetitions in the end of the byte stream.

You would probably save some bytes... then you do the same for X other amount of repetitions and you just store in the end of the byte stream the positions where the bytes were removed.

The decryption app would add those removed repetitions by reading the positions in the end of the byte stream.
CIYAM
Legendary
*
Offline Offline

Activity: 1890
Merit: 1075


Ian Knowles - CIYAM Lead Developer


View Profile WWW
December 29, 2015, 05:56:26 PM
 #8

Seriously I am surprised the OP doesn't have an ad sig to be posting such nonsense.

You can't compress random data. Does that make sense to you or not?

(next step is to get yourself an ad sig so you can make money with such posts)

With CIYAM anyone can create 100% generated C++ web applications in literally minutes.

GPG Public Key | 1ciyam3htJit1feGa26p2wQ4aw6KFTejU
Lauda
Legendary
*
Offline Offline

Activity: 2674
Merit: 2965


Terminated.


View Profile WWW
December 29, 2015, 05:57:13 PM
 #9

Newer and better compression techniques will continue to be devised, but you're never going to store TBs of actual information in kilobytes of storage.
Sure about that? I don't really like the word "never".

What if you can compress TBs of data to something like this:
d14a028c2a3a2bc9476102bb288234c415a2b01f828ea62ac5b3e42f
He's correct. If you were a hardware or software engineer you would know the limits. The thread has been mostly answered by Danny. Better encryption is going to be developed; algorithms that can be used with Bitcoin and ones that can't. However, you are never going to be able to store wast amount of actual data in a tiny compressed format. Even if that was possible, you would be decompressing for hours which would make it redundant then.

"The Times 03/Jan/2009 Chancellor on brink of second bailout for banks"
😼 Bitcoin Core (onion)
Glimanas (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
December 29, 2015, 06:04:44 PM
 #10

Seriously I am surprised the OP doesn't have an ad sig to be posting such nonsense.

You can't compress random data. Does that make sense to you or not?

(next step is to get yourself an ad sig so you can make money with such posts)


Random data? what are you talking about? I think you didn't read my post.

"Can't" and "never" are not exactly the right words when it gets to evolution.
eli113
Sr. Member
****
Offline Offline

Activity: 358
Merit: 254


void


View Profile WWW
December 29, 2015, 06:11:10 PM
 #11

actually what OP said is posible but not efficient ...

in order to compress sequences of raw data you may use a dictionary like table and address to key numbers (hashes)
parts of those sequences , then is posible to present a little file with reference to all data ...

but then a new problem arises , tables for such references will be bigger than the original file !!! Smiley
if sender and receiver already have the dictionary then they are able to transfer those compressed files

programs available in the market doing that kind of 'magik' to compress with good ratios already.
some sequences are frequent in text,images and such , those programs have a well-tuned dictionary
in order to compress more those programs will need even TB of help dictionary files ROFL

happy holidays to all and best wishes for 2016 as well Smiley

** but title is misleading - encryption actually making more data and save nothing but provides safety.

void
CIYAM
Legendary
*
Offline Offline

Activity: 1890
Merit: 1075


Ian Knowles - CIYAM Lead Developer


View Profile WWW
December 29, 2015, 06:13:49 PM
 #12

"Can't" and "never" are not exactly the right words when it gets to evolution.

I think you should watch the YouTube video about the "expert" and the seven perpendicular red lines (your idea makes about just as much sense as that does).

It is a bit like trying to explain to people that private keys are *safe* when they are created randomly. They will always respond with "but there is a chance I might create the same key as someone else?".

So yes - there is a chance you could do that and there is also a chance that there is a bird about 1km above your head right now that is going to drop a shit that will hit you (but I doubt you are going to now move because I have stated that are you?).

With CIYAM anyone can create 100% generated C++ web applications in literally minutes.

GPG Public Key | 1ciyam3htJit1feGa26p2wQ4aw6KFTejU
shorena
Copper Member
Legendary
*
Offline Offline

Activity: 1498
Merit: 1499


No I dont escrow anymore.


View Profile WWW
December 29, 2015, 09:59:01 PM
 #13

Just to clearify we are not talking about encryption here as the title suggest, but about compression or information encoding.

actually what OP said is posible but not efficient ...

in order to compress sequences of raw data you may use a dictionary like table and address to key numbers (hashes)
parts of those sequences , then is posible to present a little file with reference to all data ...

Yes, but this limits you to the number of entires in your table. It does not allow you to transfer arbitrary data. You can say lookup entry x, but if there is no existing entry for what you want to transfer you cant use the scheme.

but then a new problem arises , tables for such references will be bigger than the original file !!! Smiley
if sender and receiver already have the dictionary then they are able to transfer those compressed files

They dont actually transfer the compressed files, they just transfer a pointer. You cant call "look up shanon entropy on wikipedia" a compression of the actual wikipedia article[1]. Its just a reference that allows you to access the same data I accessed, because you understand the reference "wikipedia" as a specific homepage, you assume the language english and you understand how to search for specific information on that homepage.

programs available in the market doing that kind of 'magik' to compress with good ratios already.
some sequences are frequent in text,images and such , those programs have a well-tuned dictionary
in order to compress more those programs will need even TB of help dictionary files ROFL

Constructions of huffmann trees are common yes. They are limited though. As I said above if you want to be able to transfer arbitraty data and not pointers you need to be able to encode everything. Encoding everything is not possible with a limited message length. Error correction is also a thing on the fundamental level of data transportation, which adds more data.

happy holidays to all and best wishes for 2016 as well Smiley

** but title is misleading - encryption actually making more data and save nothing but provides safety.


[1] https://en.wikipedia.org/wiki/Entropy_(information_theory)

Im not really here, its just your imagination.
Drewski
Newbie
*
Offline Offline

Activity: 52
Merit: 0


View Profile
December 29, 2015, 11:16:55 PM
 #14

I'd like to know where this idea of magic algorithm comes from.  Typical compression works like a dictionary.  The program looks for repeats in the file, and then designates a shorter abbreviation for that chain.  So a 128 bit chain that recurs in a file can be designated as an 8 bit chain  You still have to send the original 128 bit chain once, but every time after that, you only have to send the 8 bit chain.
CreativeCarol
Member
**
Offline Offline

Activity: 70
Merit: 10


View Profile
December 30, 2015, 01:21:58 AM
 #15

Normally, Bitcoin is able to be utilized and manipulated to find very many different routes for new generations of encryption I believe.
Eric Cartman
Hero Member
*****
Offline Offline

Activity: 741
Merit: 500

CryptoTalk.Org - Get Paid for every Post!


View Profile
December 30, 2015, 01:27:32 AM
 #16

Impossible.

Search about hash collision, how would you deal with them?

 
                                . ██████████.
                              .████████████████.
                           .██████████████████████.
                        -█████████████████████████████
                     .██████████████████████████████████.
                  -█████████████████████████████████████████
               -███████████████████████████████████████████████
           .-█████████████████████████████████████████████████████.
        .████████████████████████████████████████████████████████████
       .██████████████████████████████████████████████████████████████.
       .██████████████████████████████████████████████████████████████.
       ..████████████████████████████████████████████████████████████..
       .   .██████████████████████████████████████████████████████.
       .      .████████████████████████████████████████████████.

       .       .██████████████████████████████████████████████
       .    ██████████████████████████████████████████████████████
       .█████████████████████████████████████████████████████████████.
        .███████████████████████████████████████████████████████████
           .█████████████████████████████████████████████████████
              .████████████████████████████████████████████████
                   ████████████████████████████████████████
                      ██████████████████████████████████
                          ██████████████████████████
                             ████████████████████
                               ████████████████
                                   █████████
.CryptoTalk.org.|.MAKE POSTS AND EARN BTC!.🏆
franky1
Legendary
*
Offline Offline

Activity: 4200
Merit: 4442



View Profile
December 30, 2015, 01:37:24 AM
 #17


Newer and better compression techniques will continue to be devised, but you're never going to store TBs of actual information in kilobytes of storage.


Sure about that? I don't really like the word "never".

What if you can compress TBs of data to something like this:

d14a028c2a3a2bc9476102bb288234c415a2b01f828ea62ac5b3e42f

If everyone would always say never and actually do nothing about ideas you would not be sitting today in the 21st Century in front of a computer typing some text and sending it across the world in a fraction of a second.

What if... you, yes YOU could manage to do it without any data loss/leakage/corruption

then YOU will be the inventor of something worth billions to the corporate world
so because you dont like the word 'never' i think you should get started making your dream a reality
and please don't reply that you 'never' programmed before. or that you think you will 'never' program the solution in the next 10 minutes..

so i look forward to your source code in 9minutes 55seconds Cheesy

I DO NOT TRADE OR ACT AS ESCROW ON THIS FORUM EVER.
Please do your own research & respect what is written here as both opinion & information gleaned from experience. many people replying with insults but no on-topic content substance, automatically are 'facepalmed' and yawned at
Amph
Legendary
*
Offline Offline

Activity: 3206
Merit: 1069



View Profile
December 30, 2015, 08:44:44 AM
 #18

Impossible.

Search about hash collision, how would you deal with them?

they are basically a non-issue, and there is no way to know if one address already collided
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!