Storing Files in Minecraft | Project Showcase 3

  Рет қаралды 1,277,424

BK Binary

BK Binary

Күн бұрын

Quick little project I made showing how to store files inside of Minecraft maps. This isn't useful at all I just think it's pretty neat to store your files in unconventional manners. This project took me 3 or 4 days to code and test then another week or so to edit the video. Premiere kept crashing on me..
If you enjoyed, more projects like this will be on the way.
Music used:
C418 - Wet Hands
C418 - Subwoofer Lullaby
C418 - Sweden
Github link: github.com/Brendan-Kirtlan/Mi...
Timestamps
0:00 - Intro
0:29 - Background
0:59 - Implementation
4:00 - Security of substitution ciphers
5:52 - Cracking substitution cipher live
12:45 - Outro
If you're reading this ily

Пікірлер: 1 500
@AJMansfield1
@AJMansfield1 4 ай бұрын
2:40 looking up the block in an array of 256 possible blocks is O(256) = O(1). And I would be rather surprised if using a hash map for such a small lookup was actually faster than a linear scan through a 256 element array.
@BKBinary
@BKBinary 4 ай бұрын
Yeah I realized that after haha from a leetcode problem searching for the first character to appear twice in a string. I’m not too sure which would be faster since you’d average 128 array accesses assuming every byte was equally likely in a file. Another approach instead of a linear scan would be a binary search from an alphabetical ordering of blocks. That’d max out at 8 accesses I believe since log_2(256) = 8. Still not sure how much extra computing Java uses in computing its hashes, so definitely worth testing. But hashmaps were much easier to implement and this wasn’t at all meant to be practical so I don’t regret it haha. Thanks for the comment
@AJMansfield1
@AJMansfield1 4 ай бұрын
@@BKBinary nope, for an array that small linear scan even beats binary search. Linear scan is easily vectorized to allow checking the elements 4 or 8 elements at a time, and all the repeated failures in linear scan make the branch predictor very happy too - you only get the one single branch miss for the one element that matches. Whereas, binary searching 256 elements means taking a 50/50 on a branch miss _eight_ times. (Linear scan is also an access pattern that makes memory prefetch happy, so you're probably avoiding one or two cache misses that way too.)
@AJMansfield1
@AJMansfield1 4 ай бұрын
@@BKBinary here's the approach I'd take: just create an array large enough that you can index into it directly with a Minecraft block ID, and put the byte values you want at the handful of relevant indices. (I'd still want to benchmark this against linear scan though lol, memory fetch issues could actually still make that faster.)
@BKBinary
@BKBinary 4 ай бұрын
@@AJMansfield1 great idea, I didn’t think of this. Thanks for taking the time to share these ideas with me, always looking to expand my knowledge on data structures and algorithms
@BKBinary
@BKBinary 4 ай бұрын
@@AJMansfield1 I see. I’m not too knowledgeable on compiler optimizations, I’ve never taken a class on the subject or looked too heavily into it. You know any good resources? Also I pinned ya since I was getting so many comments on the hash map implementation and your explanation was definitely the best.
@LOL_MANN
@LOL_MANN 4 ай бұрын
WE ARE HIDING HOMEWORK FOLDER WITH THIS ONE 🗣🗣🗣🔥🔥🔥🔥🔥💯💯💯💯💯
@BKBinary
@BKBinary 4 ай бұрын
this man got terabytes for sure
@emerald5567
@emerald5567 4 ай бұрын
hi mom I'm looking at po- I mean I'm doing my homework
@_GhostMiner
@_GhostMiner 4 ай бұрын
Toto touch grass tiktoker
@eggs8021
@eggs8021 4 ай бұрын
My man
@colevilleproductions
@colevilleproductions 4 ай бұрын
one of the most creative comments i’ve seen
@xrayessay
@xrayessay 4 ай бұрын
This is epic. I will now proceed to store the entire Harry Potter movie franchise on the oldest anarchy server in Minecraft 2b2t.
@BKBinary
@BKBinary 4 ай бұрын
Least intensive 2b2t project
@cephelos1098
@cephelos1098 4 ай бұрын
Unironically pretty achievable, all it would take would be pre-generating the chunks in a local world, exporting it to a schematic, transporting resources to nearby chests, then just using Baritone to build the whole think automatically
@benp.865
@benp.865 4 ай бұрын
@@cephelos1098 you just need to dupe 256 different blocks a shit ton of times
@clockworkjirachi6437
@clockworkjirachi6437 4 ай бұрын
@@benp.865 Why stop there? Why not store the different reachable locations of 2b2t and their difficulty of being reached in beautiful 16-options-per-64 x 64 x 64 space on a scale of reachability from 0-4 and on a scale of mine-ability from 0-4 and on a scale of however many 64 x 64 x 64 space volumes above have blocks in them on a scale from 0-5 ... on itself 2b2t?
@sebbes333
@sebbes333 4 ай бұрын
*You could actually do that.* Sure, you need the resources, but if you could convince some clans to sponsor you, it could be done. For the placement, you need to generate a blueprint of the files in a single player world, then you could use a Barritone bot to do the placement. (Wrongfully-) assuming no greffers show up, you could probably have it done in some moth(s?), or you can use more bots for faster placing.
@Tommy50377
@Tommy50377 4 ай бұрын
In theory you could use chests to compress the size of the data significantly. You'd be able to get a lot more bits stored per block, because not only would you be able to use blocks like sand and anvils, you'd also be able to use every item in the game to store bits. You'd also be to stack items to further increase the bits you could store (for example a stack of 32 dirt could be different then a stack of 33). You can also copy a chest with all its contents by alt middle clicking them in creative mode, allowing you to nest chests, and exponentially increasing the amount of bit storage. It could be possible to store an entire file in a single chest this way
@BKBinary
@BKBinary 4 ай бұрын
Interesting. I was also thinking of using written books stored in shulkers stored in chests. I think this was actually an exploit used on 2B2T. People were overflowing the memory of certain chunks causing them to be reset creating "illegal" items. This kind of scared me from using chests to store the file as I was afraid I'd overflow a chunk (and it wouldn't look near as cool haha). You could probably calculate the max amount of information you can store in a chunk then use this method to drastically decrease the size (by size I mean dimension of the file)
@ibnu7942
@ibnu7942 4 ай бұрын
7chest
@tr7zw
@tr7zw 4 ай бұрын
@@BKBinary afaik Minecraft(and paper) has fixed this in later versions. The 2B2T thing was in 1.12.2.
@NabekenProG87
@NabekenProG87 4 ай бұрын
Wouldnt maps be able to store even more?
@BKBinary
@BKBinary 4 ай бұрын
@@tr7zw ah I see. I haven’t kept up too closely with the updates as of late (as most of them are useless mobs lol). The new one with autocrafters and bulbs used as one block flip flops seems pretty neat though
@Mandude4200
@Mandude4200 4 ай бұрын
Enderman comes and breaks the whole thing
@Super_ATI
@Super_ATI Ай бұрын
Looks like the file has been corropted
@koimananana
@koimananana Ай бұрын
​@@Super_ATIcorrection algorythm saves the day!
@vlc-cosplayer
@vlc-cosplayer 26 күн бұрын
Datamoshing 👀
@teamok1025
@teamok1025 15 күн бұрын
​@@koimanananawhoops a creeper destroyed the blocks that is used data that has code for data correction algorithm
@teamok1025
@teamok1025 15 күн бұрын
​@@koimanananawhoops a creeper destroyed the blocks that is used data that has code for data correction algorithm
@atemoc
@atemoc 4 ай бұрын
I have no idea why seeing you decoding this journal entry was so entertaining to me, but it really was.
@RomanPro100
@RomanPro100 4 ай бұрын
I have no idea why this bit is in the video if it's is not about deciphering
@meesvandenberg9468
@meesvandenberg9468 4 ай бұрын
@@RomanPro100 would make a great game
@WatercraftGames
@WatercraftGames 4 ай бұрын
It's so beautiful.
@ordinaryfellow9093
@ordinaryfellow9093 4 ай бұрын
@@meesvandenberg9468literally fallout journal hacking
@RaidianaS
@RaidianaS 4 ай бұрын
@@meesvandenberg9468highfleet has a mechanic like this so you can decode intercepted enemy transmissions. Once you loot a part of the code from a destroyed ship it becomes pretty easy to finish the rest of the message yourself, and then you can figure out exactly where that trade ship you wanna attack is going to be!
@0xCAFEF00D
@0xCAFEF00D 4 ай бұрын
10:20 A nice improvement to the program would be to color code letters based on if they're swapped or not.
@chelovek9321
@chelovek9321 4 ай бұрын
Or letters case. Mb like this: "m=Z; f=W; "
@OctagonalSquare
@OctagonalSquare 2 ай бұрын
I don’t know if VSCode terminal output allows colored text output
@DestopLine
@DestopLine 2 ай бұрын
@@OctagonalSquareIt does
@nataly_171
@nataly_171 4 ай бұрын
Something I think is really interesting is that since a recent update allowed you to insert and read music discs from a jukebox (giving a redstone signal from 0-16), you could actually store all the data in shulker boxes full of different music discs, and then read the data in minecraft itself.
@AJMansfield1
@AJMansfield1 4 ай бұрын
Oh jeez, imagine trying to implement a decoder for even a "simple" format like MPEG Layer 2, in just minecraft redstone...
@attilatorok5767
@attilatorok5767 4 ай бұрын
@@AJMansfield1 These guys made a music player with noteblocks using the jukebox saving technology: kzfaq.info/get/bejne/jJyIZaV51cuwp6s.html
@ragnarok7976
@ragnarok7976 4 ай бұрын
​@@AJMansfield1play Shrek at 1 frame/min on a small black and white (yellow and brown) redstone lamp screen 😂
@SreenikethanI
@SreenikethanI 3 ай бұрын
@@ragnarok7976 make a texture pack for redstone lamp that is black and white for the OFF and ON states :)
@kharmachaos667
@kharmachaos667 14 күн бұрын
And then you can midi-fy the audio and play it using noteblocks :^] If there's some block that changes it's appearance based on signal strength.. maybe a mod... you could watch shrek on a monotone screen and have the AUDIO too...
@live_destin-3408
@live_destin-3408 4 ай бұрын
*The enchanting table language is a substitution cypher, with custom letters on one side and English letters on the other.* It's called the "Standard Galactic Alphabet"
@questwalkerko
@questwalkerko 2 ай бұрын
You won't get anything from translating enchanting tables though. They just use gibberish.
@the_veemonator
@the_veemonator 2 ай бұрын
Its not gibberish, they are actually words, Not just random letters.​@questwalkerko
@chickennugget481
@chickennugget481 2 ай бұрын
also, the standard galactic alphabet is from commander keen iirc
@jansakasan
@jansakasan Ай бұрын
​@@the_veemonator welllllll they are nonsense words
@JANICKGMO_
@JANICKGMO_ 4 ай бұрын
00:14 glorious 27p
@double_0_delta158
@double_0_delta158 2 ай бұрын
i don't think its a movie I would want to see if its only 27 pixels x 27 pixels
@Juanpvcool
@Juanpvcool Ай бұрын
It looks like that 3:32 .
@lubomirkubasdQw4w9WgXcQ
@lubomirkubasdQw4w9WgXcQ 6 күн бұрын
@@double_0_delta158 not 27x27, probably 27x (27X16/9) pixels
@ThanksCaptainObvious
@ThanksCaptainObvious 3 күн бұрын
27p isn't really glorious. Most modern phone screens can show up to 1080p, computer monitors even 4k.
@Juanpvcool
@Juanpvcool 3 күн бұрын
Thanks Captain Obvious🤓☝️
@SyburrMSM
@SyburrMSM 4 ай бұрын
It’s genuinely so nice to find Minecraft videos like these where the person isn’t shouting at the viewer and throwing together visuals that pop up every 3 milliseconds. It’s also just really nice to find a Minecraft video that is original feels like it’s made with passion and effort. Keep it up, man. ❤
@lesharkoiste
@lesharkoiste 4 ай бұрын
don't forget those stupid one-word subtitles that are absolutely everywhere
@EngineerMonkey-zp3yj
@EngineerMonkey-zp3yj 2 ай бұрын
"HEY GUYS, it's Mr. Minercraft here! Today we're going to be HUNTING SOME SHEEP!"
@CaptainWackyLaterNamedHomer
@CaptainWackyLaterNamedHomer 2 ай бұрын
KZfaq recommended me this and I was surprised that there's none of that annoying shit
@ollllj
@ollllj 4 ай бұрын
The enigma cypher was easily cracked for 3 main reasons: - They failed to follow the instructions to scramble the wheels often enough". - They too often ended a text with a repeating chant - They underestimated the hackers. With that (and with radar+sonar) england knew in advance where germany attacked, but often had to disguise that knowledge with things like "our carrots improve eye sight", or with RANDOM ignorance.
@ragnarok7976
@ragnarok7976 4 ай бұрын
Yep, as always, the most fatal security flaw in any system is where it meets the users hands.
@literally.nobody
@literally.nobody 4 ай бұрын
But didn't a guy need to basically invent the computer to break the code
@jameswalker199
@jameswalker199 4 ай бұрын
Incorrect. This is why I hate the Irritation Game. The allies looked for a message that was sent at the same time every day that started with the same text. This was the weather report that started with the words "weather report" ("wetterbericht" in german). I believe enigma operators were even told not to sign off messages, although this was done for brevity and not for security reasons.
@literally.nobody
@literally.nobody 4 ай бұрын
@@jameswalker199 wait so that movie just straight up lies
@I_Love_Learning
@I_Love_Learning 4 ай бұрын
@lly.nobody I think the main commenter got mixed up, the allies needed to make advanced programs (Not ultra, as I originally stated,) to work.
@Dookybootie
@Dookybootie 4 ай бұрын
“…In Mincraft” has a whole new meaning. Thank you for sharing this.
@liamhansolo1464
@liamhansolo1464 19 күн бұрын
mincraft
@brainlesssayspro3738
@brainlesssayspro3738 2 күн бұрын
​@@liamhansolo1464 minute crafts
@iHateHandlesGetRidOfThis
@iHateHandlesGetRidOfThis 4 ай бұрын
god that diary has so many references... i like the binding of isaac.
@XceptionalBro
@XceptionalBro 4 ай бұрын
This absolutely qualifies as a harder drive, nice!
@WTFBOOMDOOM
@WTFBOOMDOOM 4 ай бұрын
Hardest drive 💪
@ddylan4cats
@ddylan4cats 10 күн бұрын
Next, you will store your files on a hard drive in Minecraft, in which the Minecraft world is located on your computer’s hard drive. Hard-drive inception.
@ashurean
@ashurean 4 ай бұрын
Loved the concept, made sure to let it play in the background and go to the next video so you got the full benefits of the watch even though I really couldn't focus on the technical side. You absolutely deserve the support even if I can't appreciate everything that goes into it. I can't wait to see what you come up with next.
@BKBinary
@BKBinary 4 ай бұрын
Thank you I really appreciate it. Kind felt messages like this are why Ive been continuing to make these
@jamessizemore7103
@jamessizemore7103 4 ай бұрын
I’m just Imagining storing your data in Minecraft blocks only to have an enderman pick up blocks and corrupt your data😂
@WanderingWayfinderLibrarian
@WanderingWayfinderLibrarian Ай бұрын
If you made the endermen invisible they would actually make your home world seem like it was it's first stages of dementia Add in their agro pattern and you get a slightly more advanced form of dementia Then over time turn up their spawn rate and you eventual get into a state of incoherce and beyond
@slocm3z
@slocm3z Ай бұрын
"Get out of my swaaaaaaaaaaa-----"
@adithyavraajkumar5923
@adithyavraajkumar5923 15 күн бұрын
Just like real life, where cosmic rays cause bit flip errors haha
@rexwasserman5921
@rexwasserman5921 3 ай бұрын
i did not expect daniel larson lore to be encrypted in minecraft blocks
@AZMGD
@AZMGD 4 ай бұрын
One of the first things I thought about when playing Minecraft, apart from the game itself, was how efficient store information that would also be encrypted because no one would know how to encode it
@Hearever
@Hearever 4 ай бұрын
You need more recognition bro you put way to much effort into these video
@MrFunny01
@MrFunny01 4 ай бұрын
If we want to go into compression even more, we can play with the Minecraft region format. Each chunk is split into 16x16x16 sections. Each section has its own palette, where each entry is every single block occurring in the section. Then it’s being split into amount of bits needed to represent every index of the palette. Using the combinations formula of possible_values^slots where possible values is 2 because we have 1 and 0, we can figure out how many bits we need to represent X entries. So for example we have air, dirt and grass block. 3 blocks entries. 2^2 is 4, thus suitable for us since we can represent 4 different values and we need only 4 bits for that. If we have 13 different entries, the closest power of 2 is 16 and this is 2^4. You can get the needed value by using log2 function (log2(16) = 4, log2(256) = 8 and so on). After that Minecraft just stores the bitset as a long array into the nbt and when we need to read the data it recalculates needed bits for the palette and splits the message into indexes and places blocks. We know the exact size of the array since we know that there’s exactly 16x16x16=4096 blocks in a section, so if we have 4 bits per block, our section will go to 16k bits or 2k bytes (in to lazy to remember the actual value of this power of 2)
@BKBinary
@BKBinary 4 ай бұрын
Very interesting. At first I was trying to edit the world file directly so I saw the palette and assumed it was for this purpose but I was still very unsure on the topic. Thanks for the comment
@dunnydunn458
@dunnydunn458 4 ай бұрын
8:15 This part is so amazing. Even before he is finished, you can deduce that n=a, q=d, z=m, and the first few words read: "Dear diary, I am..."
@SissypheanCatboy
@SissypheanCatboy 4 ай бұрын
Encryption/decryption is so fun, makes me wish we'd get more videogames where its utilized for the sake of interesting puzzles.
@ryanmorrison8307
@ryanmorrison8307 4 ай бұрын
You mean like in the game "Prose & Codes" right?
@electrofoxx1276
@electrofoxx1276 4 ай бұрын
I recently discovered a game called "Cypher". It's fun
@MatchTerm
@MatchTerm Ай бұрын
Shipwreched beaver scratch is pretty cool, even if short as an encryption method
@eatbolt42
@eatbolt42 2 ай бұрын
Not only is the plugin amazing, but the video is really well done too. Please make more of these! Do your part to make the world a better place!
@princewaesen154
@princewaesen154 4 ай бұрын
okay the encrypted message bit was highy entertaining and it's fun to learn about substitution cypher this way, good video
@BKBinary
@BKBinary 4 ай бұрын
Thank you kind sir
@UltimatePerfection
@UltimatePerfection 4 ай бұрын
Be careful about using volatile blocks like dirt that can be changed by engine actions (in the case of dirt, turned into grass) without player's interaction. It's better to only use blocks that don't change over time or can't be changed by regular minecraft happenings.
@BKBinary
@BKBinary 4 ай бұрын
Oh true this isn’t something I considered. I purposefully didn’t choose a grass block as I know the grass would turn into dirt with another block on top but I didn’t take into account dirt turning into grass
@UltimatePerfection
@UltimatePerfection 4 ай бұрын
@@BKBinary I think the safest blocks to use would be various decoration blocks (all different varieties of wood, stone, etc.), those that don't react with the environment at all.
@feliksporeba5851
@feliksporeba5851 4 ай бұрын
@@UltimatePerfection Wood does interact with the environment. It can burn. Even if there is no fire in the proximity it can always be started by a lightning.
@xonocarrot5550
@xonocarrot5550 4 ай бұрын
Why not just turn the random tick speed to 0 ? And just disable fire spread
@feliksporeba5851
@feliksporeba5851 4 ай бұрын
@@xonocarrot5550 Depends on what you want to do with the world. If you just want a strange data storage then you don't even need to open it in minecraft. You can then use any blocks including gravity blocks. I imagine the world as one that can be played in survival which meas no nonstandard settings
@Toleich
@Toleich 4 ай бұрын
Masterful content bait leading to a really interesting insight into code breaking. Well done!
@coolguyx14
@coolguyx14 4 ай бұрын
So im theory can you store minecraft in minecraft?
@Mewinggojo69420
@Mewinggojo69420 2 ай бұрын
Ya more or less
@isaacrista
@isaacrista 2 ай бұрын
But that's just a theory
@OverlordJacob
@OverlordJacob Ай бұрын
​@@isaacristaa game theory
@1337_bean
@1337_bean 7 күн бұрын
@@OverlordJacobno. it’s actually just a theory
@isaacrista
@isaacrista 7 күн бұрын
@@1337_bean guess it's a food theory then huh
@conred6635
@conred6635 4 ай бұрын
I'm studying this, and this was a lovely way to showcase some cyptrography concepts thanks man you earned my sub.
@BKBinary
@BKBinary 4 ай бұрын
Thank you! Cryptography is a really interesting branch of mathematics, definitely one of my favorites behind numerical analysis. My favorite method that I learned was called elliptic curve cryptography, I found it so fascinating and constantly wondered how someone could even think of such a concept.
@SUPERNOOB20
@SUPERNOOB20 4 ай бұрын
Very fun, original, and INSPIRING! And thanks for leaving a link to the code in the description!!! :D Your video editing is quite smooth o.o Have a nice day ^-^
@BKBinary
@BKBinary 4 ай бұрын
Appreciate it kind sir. I’m glad I could inspire you :)
@FroddeB
@FroddeB 4 ай бұрын
Great video, love how you turned something fun and silly into informative about decryption methods. Subscribed
@Jarikraider
@Jarikraider 4 ай бұрын
So sad when Shrek movie died by Creeper.
@sheevpalps66
@sheevpalps66 4 ай бұрын
People boutta be using Minecraft world files to pirate movies. For real though, it would be cool to see how many blocks it would take to store a 1080p 60fps video with 2 channel audio in Minecraft (not sure if it would work with chunks de-loading).
@BKBinary
@BKBinary 4 ай бұрын
I did run into some issues when chunks weren’t generated when trying to place blocks. I had to fly out to those chunks to generate them before storing the file. As for how many blocks a 1080p movie would take up, we could do some quick math. On average, at least from what I’ve seen, a movie is usually 2gb. 2gb = 2,000,000,000 bytes so it would be that many blocks. Since a chunk is 16x16x384 blocks big, this file would take up about 20,000 chunks in my implementation. This means it would span out to around 300,000 in the x axis. This is why I compressed the file down to 27p haha
@sheevpalps66
@sheevpalps66 4 ай бұрын
@@BKBinary Wow that is massive lol. If you ever need an idea for what to do for a video, trying to make that work would be really cool to see IMO.
@russianyoutube
@russianyoutube 4 ай бұрын
​@@BKBinaryyou could theoretically utilize a fake player that will always be at the position of the 'writer' so the chunks will always be loaded
@ODISeth
@ODISeth 4 ай бұрын
I love how this was both a unique explanation of creative file storage, and also a solid demonstration of how easy replacement encryption codes are to break
@michal_king478
@michal_king478 4 ай бұрын
I love this. A while ago I was playing around with stuff like punched tapes and such where the data is actually even readable just by looking at it. I love how it puts to perspective the amount of data we usually work with. I also used a graph paper notebook as a storage device where I just colored the squares that represented 1 and then calculated how many kilobytes would fit in it and how many notebooks youd need to store various stuff
@BKBinary
@BKBinary 4 ай бұрын
We have the same brain. I always wonder about useless things like this as well haha. It's just so cool
@davidakoskovacs9598
@davidakoskovacs9598 4 ай бұрын
This is really interesting, thank you for the introduction to codebreaking :D
@BKBinary
@BKBinary 4 ай бұрын
It's really a fascinating topic. If you ever get the chance to take a course on the subject I'd highly recommend doing so. We would have weekly quizzes in the course and all it was was encrypted information with the cipher we learned that week and we were told to break it. Although with modern techniques such as RSA or lattice encryption, you need some information to start off your breaking.
@JProductionsYT
@JProductionsYT 4 ай бұрын
Wow, I never thought about it like that, but this is an awesome way to decode!
@BKBinary
@BKBinary 4 ай бұрын
Right! It’s pretty fun, just one big puzzle
@core36
@core36 4 ай бұрын
“Sir, we found Minecraft world data on his hard drive” “That sick bastard”
@jameswalker199
@jameswalker199 4 ай бұрын
Not that security through obscurity is real security, but what if you encoded secret files in your minecraft world, then encoded that minecraft world in another minecraft world?
@alexanderdelguidice4660
@alexanderdelguidice4660 4 ай бұрын
3:53 Windows requires file extensions but some other operating systems look at the first couple of bytes (the pattern that you mention a little later in the video) of the file instead because that's where the file type information is actually stored.
@BKBinary
@BKBinary 4 ай бұрын
Interesting, I didn't know this
@teknixstuff
@teknixstuff 4 ай бұрын
Linux mainly uses the first bytes (aka "file magic"), while Windows is file extensions all the way. macOS is somewhere between, since it's Unix based, but likes to act like Windows sometimes.
@fuby6065
@fuby6065 4 ай бұрын
you can also just use and name any file in any way, without having to change the extension, you can absolutely load a mp4 into a text editor, or load a text file in a music player, there's just a very good chance it will fail
@designator7402
@designator7402 4 ай бұрын
@@fuby6065 Unless it's Audacity, which will HAPPILY load any file and turn it into an auditory nightmare
@satibel
@satibel 4 ай бұрын
​@@BKBinarythere's tools that allow to deduce the mime type from the file, and then you can add an appropriate extension, though be careful with that, there's a bunch of files which are just zips (PK) in disguise (e.g. odt documents), and exe and dlls have also the same number (MZ)
@offroaders123
@offroaders123 4 ай бұрын
Been working on parsing Minecraft worlds as of lately, this video got recommended at the perfect time, haha! Now I want to try implementing this myself as well. Awesome idea!
@myrustledjimmies
@myrustledjimmies 4 ай бұрын
The Daniel Larson clip caught me off guard.
@hoctoan1234
@hoctoan1234 4 ай бұрын
Your channel is a gem!
@taigo5766
@taigo5766 2 ай бұрын
Chud
@Oxey405
@Oxey405 4 ай бұрын
I had the same idea and never decided to do it but I'm glad you were able to manage this feat !
@farty555
@farty555 2 ай бұрын
Awesome idea and awesome editing Also the code breaking part was very cool.
@pqul2828
@pqul2828 4 ай бұрын
Nice video once again! Just wanted to point out that the camera hides a bit of the ciphertext at the end, but that's very fine. Nice editing, it kinda makes me want to learn the basics!
@dwin7206
@dwin7206 4 ай бұрын
this might be one of the greatest videos of all time
@BKBinary
@BKBinary 4 ай бұрын
Dwin gaming goated
@dwin7206
@dwin7206 4 ай бұрын
@@BKBinary collab coming soon??????
@BKBinary
@BKBinary 4 ай бұрын
@@dwin7206 honestly I was thinking of collabing with Jordan soon to make some sort of engineering project. If you have any good ideas I’m all ears
@Spike_365
@Spike_365 4 ай бұрын
This is so cool, I love how there are so many infinite possibilities in minecraft!
@Mosern1977
@Mosern1977 4 ай бұрын
Reading and writing random blocks from Minecraft worlds would be where I would need help. But neat job in decoding a substitution cypher.
@3xtremeAwesome
@3xtremeAwesome 4 ай бұрын
I think this is pretty rad too.
@hunterhicks6726
@hunterhicks6726 4 ай бұрын
Incredible work
@soupotown70
@soupotown70 2 ай бұрын
There's so much information in that Minecraft world, that my video is lagging. But yeah this video is absolutely legendary. This shows how limitless Minecraft is, and you did an amazing job in everything here
@ceekayreal
@ceekayreal 5 күн бұрын
Wow, this video is absolutely mind-blowing! The creativity and technical skills involved in storing the Shrek movie as Minecraft blocks are just incredible. 😲 Not only is the idea itself fascinating, but the explanation of how substitution ciphers work and the live decryption demo were super informative and entertaining. Kudos for making data science and encryption so accessible and fun! Can't wait to see what other unconventional storage methods you come up with next. Keep up the awesome work! 👏🔥🚀 - Totally not chatgpt
@TheRandom_Channel_idk
@TheRandom_Channel_idk 4 ай бұрын
I love how you went from talking about shrek in a weird file format to trying to decrypt someone's secrets by using context and frequency.
@foxinrot
@foxinrot 4 ай бұрын
4:00 you can also infer the file type based on any header present
@cobralyoner
@cobralyoner 4 ай бұрын
Nice tht you showed off how easy it actually is to decode a simple text like that. pretty cool
@agentcripper
@agentcripper 4 ай бұрын
this has been my secret project for this year.. seing you upload this hurts me
@Y4N-
@Y4N- 4 ай бұрын
For how small the channel is, the content is top Notch. I’ll be watching your career with great interest!
@jamesharding7536
@jamesharding7536 4 ай бұрын
Thanks
@koli4213
@koli4213 2 ай бұрын
I appreciate it man
@jayjaymike1841
@jayjaymike1841 4 ай бұрын
5:02 c u m lmao
@alkatraztsubasa
@alkatraztsubasa 2 ай бұрын
great video and you are right. the ciphers are fun to decode. also was not expect you to pull up the Daniel Larson clip with him “arresting” the Olive Garden employees and pulling the alarm
@CandorPerlicious
@CandorPerlicious 4 ай бұрын
This was really interesting as a concept. I've hidden information before inside of image files. The use of Minecraft blocks is a rather interesting way of storing data. Watching you decode that text file was fun and interesting. I do wish though, that while you were live decoding, the exchanged letters were converted to a different color to make it clearer and know whether you substituted that letter already. I'm going to have to try this now in one of my games lol
@Bonnie39
@Bonnie39 4 ай бұрын
What if you could utilize chests with NBT data and have the items inside each chest represent the file data? I feel like that could make it possible to store larger files without taking up as much space in a Minecraft world
@floskater99
@floskater99 4 ай бұрын
You can even store chests with nbt inside a chest, and a chest with nbt inside that chest, and so on. so i think you can pack a LOT of data into that.
@Bonnie39
@Bonnie39 4 ай бұрын
@@floskater99 decoding this would probably get slower and slower with each layer of nbt data
@edgars9581
@edgars9581 4 ай бұрын
Minecraft has a limit on how much data can be in a chunk (a bit under 2mb iirc), after which it will not save so the data will be lost. But should be fine as long as you keep under that
@SnoFitzroy
@SnoFitzroy 4 ай бұрын
I think the "optimal" level of use for that (mostly optimal in the sense of not making it hard for the game to save and store it but also relatively easy for the person encoding it to retrieve when they need it) would be to use chests with each slot being a shulker box full of one block per slot - even better if a repeated block, like if the encoding leave three emerald ores in a row or something, could all be stored in one slot, so "Z X F F F M" could be sored as one slot with 1 obsidian, one slot with 1 brown wool, one slot with 3 iron ores, and one slot with 1 lime concrete. Or something. Worst case scenario of no adjacent identical bytes would be 27^2 bytes in one block space.
@magma90
@magma90 4 ай бұрын
If you swap the key every few blocks (any amount) it will be harder to predict, you will need to store every key though.
@theeggoplant
@theeggoplant Ай бұрын
might be my new favorite video
@donovanholm
@donovanholm 4 ай бұрын
This was a very interesting video to watch in the morning
@DaniDipp
@DaniDipp 4 ай бұрын
Would it be useful to print still unknown characters and decoded characters in white to make it easier to read?
@BKBinary
@BKBinary 4 ай бұрын
Yeah that’s one thing I was thinking of changing, never got around to it. It was a little hard to tell which characters were yet to be decoded
@anonymanonymus4706
@anonymanonymus4706 4 ай бұрын
The only reason I learnt programming:
@DJSockmonkeyMusic
@DJSockmonkeyMusic 3 ай бұрын
Fabulous! Reasons don't matter, the concept is bloody brilliant.
@rickychristian1369
@rickychristian1369 2 ай бұрын
type of content I live for. bless you sir.
@brandoncarstensen1637
@brandoncarstensen1637 4 ай бұрын
Does this mean we can store Minecraft inside Minecraft now? As in, entire separate world saves, saved via blocks inside a primary world?
@Zreknarf
@Zreknarf 4 ай бұрын
sure, always could. i'm not sure a block map would be my first choice though. in java, written books can have 2,147,483,639 pages and 32,767 characters per page via commands or editors. that ought to be enough to fit a minecraft world into a single written book
@Zreknarf
@Zreknarf 4 ай бұрын
if you wanted to write them without commands you get 100 pages with 798 characters per page, 2.55MB per book, 137MB per double chest, maybe 20 or so double chests for a 2.74GB minecraft world
@elygolden
@elygolden 4 ай бұрын
If you want to encrypt files in Minecraft best to encrypt the file in a more traditional manner then encode them into Minecraft using a known encoding scheme. That way the map from bytes to blocks doesn't need to be secret ☺️
@freedomgoddess
@freedomgoddess 4 ай бұрын
this is literally the first couple of lectures from the cryptography class i took a year ago. pretty neat!
@achmedabadoba5478
@achmedabadoba5478 3 күн бұрын
Very great idea! Huffman Coring would be great to be super nice to have for recovering the world if tnt is applied. Also for your privacy over obvouscation method idea, I would also suggest using the Minecraft physics modifying the structure and being able to reverse engineer them also as an obvouscation method.
@MrMustachio43
@MrMustachio43 4 ай бұрын
But can you make it so you can read and play the file in minecraft itself?
@zackay6211
@zackay6211 4 ай бұрын
You should include hamming codes into the next plain text cipher, I find error correction fascinating.
@BKBinary
@BKBinary 4 ай бұрын
I do want to try using some type of error correction in a project at some point. I'm not too educated on the topic so it'll take me some research
@zackay6211
@zackay6211 4 ай бұрын
@@BKBinary try Ben Eater's or 3brown 1blue's take on error correction
@BKBinary
@BKBinary 4 ай бұрын
@@zackay6211 both great channels. I'll watch them before my next project :)
@jesselapides4390
@jesselapides4390 4 ай бұрын
YESS!!! Use a hamming code, then blow up one TNT and see if it works
@JOSD787
@JOSD787 3 ай бұрын
storing files in a video game shows how far technology has come, such a cool video!
@thegermanempire9015
@thegermanempire9015 4 ай бұрын
Super cool video! I'm taking a cryptography class right now, and that code would sure be helpful to solve monoalphabetic substitution ciphers. I thought it was really cool how you made a plugin to put the code from a folder into a minecraft world. I'm not that experienced with coding, and seeing you make something so practical makes me want to learn at least one coding language, so I can make my own plugins to encrypt my files in minecraft. Again, great video, keep it up!
@BKBinary
@BKBinary 4 ай бұрын
Thank you! Nowadays you don’t have to be super experienced with programming to be able to use it for cases like this. Most of my code is written with AI as it speeds up the process tenfold. Of course it helps knowing what each line does in case there’s errors or the code is slow but it’s really easy to get something like the cipher solver up and running
@DmitriDmitri
@DmitriDmitri 4 ай бұрын
The year is 2095. Minecraft has become so optimized and advanced that it has become the most efficient way to store data. The government has begun using it to store important documents of information. All is well, the president has built a log cabin next to the monument of data upon which the country is run. In the distance, a creeper approaches. It has been struck by lightning and is glowing with electrical charge. The president spots the creeper nearing the monument, and charges forth to stop it, but is unable to. The creeper explodes, the monument's data is corrupted, and the United states falls slowly into shambles. The day is marked to be remembered as the day the first act of video game terror took place, and the creeper is forever regarded as one of the most dangerous and consequential terrorists throughout all of American history.
@Coolpizzaking
@Coolpizzaking 2 ай бұрын
Damn, that’s the minecraft MOVIE bro
@_forsenE
@_forsenE 4 ай бұрын
1:16 face of cypher
@dementedd
@dementedd 4 ай бұрын
the decrypting part was really interesting
@Speedcubenz
@Speedcubenz 3 ай бұрын
Not sure why KZfaq showed me this, and I’m not sure I know what I’ve just watched, but I know I watched all of it and I liked it 😂 bravo 👏
@5hadov
@5hadov 4 ай бұрын
so I think it's perfect time to encode doom in minecraft
@aolmsn
@aolmsn 4 ай бұрын
Doom really runs on everything
@blackcatdevel0per
@blackcatdevel0per 4 ай бұрын
Теперь я знаю ещё один способ зашифровать данные 🌚
@AlexandHuman
@AlexandHuman 4 ай бұрын
If there are enough blocks in the game, I am sure you could even allow for singular blocks to represent extra bits. Like having each block represent one extra bit would only increase the blocks used by x2 with the ability to have 7 blocks for every 8 blocks currently used. Also utilizing directionality of certain blocks could increase the block count. It wouldn't look as pretty, but using command blocks to store information would be easy, and you wouldn't need to worry about chunk overflow like you might with chests. Having each command block be an entire byte or up to 4062.5 bytes (32500 being command blocks text limit), utilizing the directionality of the command block for 2 extra bits.
@Redbarony6
@Redbarony6 2 ай бұрын
Love the editing! Very interesting content presented in a fun and digestible manner. My only feedback is if something flashes on the screen, try to give them maybe 250-500ms more screen time to allow for the brain to properly digest the info. In some cases even 100ms can make a big difference to the feeling provided when flashing something on screen. Other than that, excellent work! 😁👍
@DataCraftsman
@DataCraftsman 4 ай бұрын
This is the REAL Databricks.
@AndrewS2972
@AndrewS2972 4 ай бұрын
So does the minecraft world file size go up when you had the shrek movie in it? I can imagine building gaint warehouses to contain these movies
@MaxCouling
@MaxCouling 4 ай бұрын
Yes
@BKBinary
@BKBinary 4 ай бұрын
Yeah the world size expanded quite a bit. That's a fun idea haha
@OidaSchwede5520
@OidaSchwede5520 4 ай бұрын
Nice Video bro ! But can you actually figure out how much it is increasing? Sorry, but just curious about it :D@@BKBinary
@BKBinary
@BKBinary 4 ай бұрын
@@OidaSchwede5520 Just checked. A file that was originally 2mb turned into 43mb. That's with all the naturally generated chunks around the file of course. I tried to generate as few as possible but I'm sure that's inflating the actual number by quite a bit. You could run this in a world that's completely void to test just for those blocks, I could probably still try that for ya at some point if you're interested.
@darkjanggo
@darkjanggo 2 ай бұрын
i love your editing style, reminds me of how i did my one word story video lol
@Australienxo
@Australienxo 4 ай бұрын
its still hard to believe how much you can actually do with minecraft. Absolutely goated game
@BKBinary
@BKBinary 4 ай бұрын
Indeed the goat. Right behind Spelunky of course
@loganxtryma6119
@loganxtryma6119 18 күн бұрын
i love watching these and knowing nothing about coding and just being completely lost the whole time
@sleeper6548
@sleeper6548 4 ай бұрын
Now I can store all of my homework file safely in minecraft! Great video btw
@xX_H347H3R_Xx
@xX_H347H3R_Xx Ай бұрын
Hey that's a cool project! I'm going to have a crack at writing my own substitution decoding tool.
@martinepstein9826
@martinepstein9826 2 ай бұрын
The ending was nostalgic. How I wish I could go back in time and take that Python course *before* taking that cryptography course. It turns out regular expressions are a bit more convenient than spreadsheets for working out cyphers.
@vertical6866
@vertical6866 4 ай бұрын
very cool video, glad i got recommended this 😄
@PlurpleUnicorn
@PlurpleUnicorn 4 ай бұрын
why was that so entertaining to watch you decipher that?
@wlockuz4467
@wlockuz4467 4 ай бұрын
This was a fun video to watch with a nice balance of humor and knowledge. I think the next natural step would be to introduce some kind of redundancy or error correction logic in case a creeper blew up some portion of your file lol.
@BKBinary
@BKBinary 4 ай бұрын
That would definitely be an interesting next step. I dealt with quite a few errors from lava or water destroying the blocks of the file
@martinhorner642
@martinhorner642 Ай бұрын
When I was younger (in the 80s) there was an Idea of 3D operating systems to help visual data and data relationships. Silicon Graphics invested heavily into it. It's good to see we haven't completely given up on those ideas. This is particularly exciting for low level data manipulation. If you can understand the encryption method, you can alter the file with... a pickax. Adding file editing modifications (to assist user with the encryption translations) would be possible. But a completely new world structure with a minecraft-like interface would be much more efficient for representing large file systems, running processes, device drivers and so on (such as the way linux works with, for example). Still minecraft has a lot of interesting options to work with... looking at you redstone. Please keep working on this. I would think some old Sili-G engineers may be jealous.
@slicedkiwi2496
@slicedkiwi2496 4 ай бұрын
great vid, love the bcs references
@BKBinary
@BKBinary 4 ай бұрын
My favorite show
@rishigaming9708
@rishigaming9708 4 ай бұрын
Cryptanalysis was part of Codebusters, one of the Science Olympiad events I participated in, and I can tell you, it is *not* easy under a timed scenario with no tools except for paper.
@cujoedaman
@cujoedaman 2 ай бұрын
I remember back in the 90's, when my dad was still working at GM, upper management wanted the gate guards to look through everyone's laptops to ensure that no one was stealing files or data that they shouldn't be. My dad was one step ahead because all he had to do was name a file a random string of characters and remove the extension so it couldn't be opened, then put it somewhere in File Manager where it couldn't be found easily. Even if they did find it, they wouldn't know what they were looking for. My dad was one of those that would discover when they were "cooking the books" by removing equations in their spreadsheets and just inputting single numbers to make their final numbers look better than they really were, so he had to keep things hidden to not let on that he knew what they were doing.
@amronchristensen696
@amronchristensen696 4 ай бұрын
Am I wrong( tell me if I am) would substitution be a lot harder to break if you were to substitute twice, with 2 different keys? Or does analytical decoding have the same effectiveness? I'm having a hard time wrapping my head around it.
@BKBinary
@BKBinary 4 ай бұрын
If you were to do that, it’d be no different than just using one key. For example, if an I were mapped to K in the first key and the K was mapped to W in the second key, using both keys in that order would just result in I -> K -> W so I is W. So you’d just have it encrypted with the second key
We Built the Internet in Minecraft
25:18
Branzy
Рет қаралды 2 МЛН
Why Minecraft Players Built a Real Life Supercomputer
23:24
HellCastle & Tylerrrr
Рет қаралды 799 М.
Trágico final :(
01:00
Juan De Dios Pantoja
Рет қаралды 30 МЛН
Glow Stick Secret (part 2) 😱 #shorts
00:33
Mr DegrEE
Рет қаралды 53 МЛН
маленький брат прыгает в бассейн
00:15
GL Show Russian
Рет қаралды 4,5 МЛН
Why? 😭 #shorts by Leisi Crazy
00:16
Leisi Crazy
Рет қаралды 38 МЛН
We Made the BEST Music Machine in Minecraft
12:52
jazziiRed
Рет қаралды 1,6 МЛН
Programming a 3D Printer to DESTROY Mobile Games
15:00
BK Binary
Рет қаралды 153 М.
AI can steal this code, I dont mind
1:57
Chapter I.
Рет қаралды 927
Long Art
17:01
Solar Sands
Рет қаралды 644 М.
Stealing Storage from Discord
7:39
Dev Detour
Рет қаралды 1,6 МЛН
The Quest for Minecrafts Any% Impenetrable Base
20:48
cubicmetre
Рет қаралды 505 М.
The Minecraft boat-drop mystery
16:41
Stand-up Maths
Рет қаралды 865 М.
It Turns Out, Minecraft Can Beat Itself
24:28
PippenFTS
Рет қаралды 1 МЛН
Storing Files in the Walmart Chip Aisle
5:49
BK Binary
Рет қаралды 283 М.
Trágico final :(
01:00
Juan De Dios Pantoja
Рет қаралды 30 МЛН