Storing Files in Minecraft | Project Showcase 3

  Рет қаралды 1,148,824

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 400
@AJMansfield1
@AJMansfield1 3 ай бұрын
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 3 ай бұрын
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 3 ай бұрын
@@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 3 ай бұрын
@@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 3 ай бұрын
@@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 3 ай бұрын
@@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 3 ай бұрын
WE ARE HIDING HOMEWORK FOLDER WITH THIS ONE 🗣🗣🗣🔥🔥🔥🔥🔥💯💯💯💯💯
@BKBinary
@BKBinary 3 ай бұрын
this man got terabytes for sure
@emerald5567
@emerald5567 3 ай бұрын
hi mom I'm looking at po- I mean I'm doing my homework
@_GhostMiner
@_GhostMiner 3 ай бұрын
Toto touch grass tiktoker
@eggs8021
@eggs8021 3 ай бұрын
My man
@colevilleproductions
@colevilleproductions 3 ай бұрын
one of the most creative comments i’ve seen
@xrayessay
@xrayessay 3 ай бұрын
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 3 ай бұрын
Least intensive 2b2t project
@cephelos1098
@cephelos1098 3 ай бұрын
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 3 ай бұрын
@@cephelos1098 you just need to dupe 256 different blocks a shit ton of times
@clockworkjirachi6437
@clockworkjirachi6437 3 ай бұрын
@@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 3 ай бұрын
*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 3 ай бұрын
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 3 ай бұрын
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 3 ай бұрын
7chest
@tr7zw
@tr7zw 3 ай бұрын
@@BKBinary afaik Minecraft(and paper) has fixed this in later versions. The 2B2T thing was in 1.12.2.
@NabekenProG87
@NabekenProG87 3 ай бұрын
Wouldnt maps be able to store even more?
@BKBinary
@BKBinary 3 ай бұрын
@@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
@atemoc
@atemoc 3 ай бұрын
I have no idea why seeing you decoding this journal entry was so entertaining to me, but it really was.
@RomanPro100
@RomanPro100 3 ай бұрын
I have no idea why this bit is in the video if it's is not about deciphering
@meesvandenberg9468
@meesvandenberg9468 3 ай бұрын
@@RomanPro100 would make a great game
@WatercraftGames
@WatercraftGames 3 ай бұрын
It's so beautiful.
@ordinaryfellow9093
@ordinaryfellow9093 3 ай бұрын
@@meesvandenberg9468literally fallout journal hacking
@RaidianaS
@RaidianaS 3 ай бұрын
@@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!
@Mandude4200
@Mandude4200 3 ай бұрын
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 9 күн бұрын
Datamoshing 👀
@0xCAFEF00D
@0xCAFEF00D 3 ай бұрын
10:20 A nice improvement to the program would be to color code letters based on if they're swapped or not.
@chelovek9321
@chelovek9321 3 ай бұрын
Or letters case. Mb like this: "m=Z; f=W; "
@OctagonalSquare
@OctagonalSquare Ай бұрын
I don’t know if VSCode terminal output allows colored text output
@DestopLine
@DestopLine Ай бұрын
@@OctagonalSquareIt does
@JANICKGMO_
@JANICKGMO_ 3 ай бұрын
00:14 glorious 27p
@double_0_delta158
@double_0_delta158 Ай бұрын
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 .
@nataly_171
@nataly_171 3 ай бұрын
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 3 ай бұрын
Oh jeez, imagine trying to implement a decoder for even a "simple" format like MPEG Layer 2, in just minecraft redstone...
@attilatorok5767
@attilatorok5767 3 ай бұрын
@@AJMansfield1 These guys made a music player with noteblocks using the jukebox saving technology: kzbin.info/www/bejne/jGe7Y3V-pcp_rdk
@ragnarok7976
@ragnarok7976 3 ай бұрын
​@@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 :)
@SyburrMSM
@SyburrMSM 3 ай бұрын
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 3 ай бұрын
don't forget those stupid one-word subtitles that are absolutely everywhere
@EngineerMonkey-zp3yj
@EngineerMonkey-zp3yj Ай бұрын
"HEY GUYS, it's Mr. Minercraft here! Today we're going to be HUNTING SOME SHEEP!"
@CaptainWackyLaterNamedHomer
@CaptainWackyLaterNamedHomer Ай бұрын
KZbin recommended me this and I was surprised that there's none of that annoying shit
@live_destin-3408
@live_destin-3408 3 ай бұрын
*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 Ай бұрын
Its not gibberish, they are actually words, Not just random letters.​@questwalkerko
@chickennugget481
@chickennugget481 Ай бұрын
also, the standard galactic alphabet is from commander keen iirc
@jansakasan
@jansakasan Ай бұрын
​@@the_veemonator welllllll they are nonsense words
@ollllj
@ollllj 3 ай бұрын
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 3 ай бұрын
Yep, as always, the most fatal security flaw in any system is where it meets the users hands.
@literally.nobody
@literally.nobody 3 ай бұрын
But didn't a guy need to basically invent the computer to break the code
@jameswalker199
@jameswalker199 3 ай бұрын
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 3 ай бұрын
@@jameswalker199 wait so that movie just straight up lies
@I_Love_Learning
@I_Love_Learning 3 ай бұрын
@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.
@ashurean
@ashurean 3 ай бұрын
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 3 ай бұрын
Thank you I really appreciate it. Kind felt messages like this are why Ive been continuing to make these
@iHateHandlesGetRidOfThis
@iHateHandlesGetRidOfThis 3 ай бұрын
god that diary has so many references... i like the binding of isaac.
@AZMGD
@AZMGD 3 ай бұрын
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 3 ай бұрын
You need more recognition bro you put way to much effort into these video
@alexanderdelguidice4660
@alexanderdelguidice4660 3 ай бұрын
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 3 ай бұрын
Interesting, I didn't know this
@teknixstuff
@teknixstuff 3 ай бұрын
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 3 ай бұрын
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 3 ай бұрын
@@fuby6065 Unless it's Audacity, which will HAPPILY load any file and turn it into an auditory nightmare
@satibel
@satibel 3 ай бұрын
​@@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)
@Toleich
@Toleich 3 ай бұрын
Masterful content bait leading to a really interesting insight into code breaking. Well done!
@XceptionalBro
@XceptionalBro 3 ай бұрын
This absolutely qualifies as a harder drive, nice!
@WTFBOOMDOOM
@WTFBOOMDOOM 3 ай бұрын
Hardest drive 💪
@rexwasserman5921
@rexwasserman5921 3 ай бұрын
i did not expect daniel larson lore to be encrypted in minecraft blocks
@Dookybootie
@Dookybootie 3 ай бұрын
“…In Mincraft” has a whole new meaning. Thank you for sharing this.
@liamhansolo1464
@liamhansolo1464 Күн бұрын
mincraft
@SissypheanCatboy
@SissypheanCatboy 3 ай бұрын
Encryption/decryption is so fun, makes me wish we'd get more videogames where its utilized for the sake of interesting puzzles.
@ryanmorrison8307
@ryanmorrison8307 3 ай бұрын
You mean like in the game "Prose & Codes" right?
@electrofoxx1276
@electrofoxx1276 3 ай бұрын
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 Ай бұрын
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!
@FroddeB
@FroddeB 3 ай бұрын
Great video, love how you turned something fun and silly into informative about decryption methods. Subscribed
@SUPERNOOB20
@SUPERNOOB20 3 ай бұрын
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 3 ай бұрын
Appreciate it kind sir. I’m glad I could inspire you :)
@dunnydunn458
@dunnydunn458 3 ай бұрын
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..."
@MrFunny01
@MrFunny01 3 ай бұрын
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 3 ай бұрын
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
@ODISeth
@ODISeth 3 ай бұрын
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
@pqul2828
@pqul2828 3 ай бұрын
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!
@sheevpalps66
@sheevpalps66 3 ай бұрын
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 3 ай бұрын
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 3 ай бұрын
@@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 3 ай бұрын
​@@BKBinaryyou could theoretically utilize a fake player that will always be at the position of the 'writer' so the chunks will always be loaded
@davidakoskovacs9598
@davidakoskovacs9598 3 ай бұрын
This is really interesting, thank you for the introduction to codebreaking :D
@BKBinary
@BKBinary 3 ай бұрын
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.
@michal_king478
@michal_king478 3 ай бұрын
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 3 ай бұрын
We have the same brain. I always wonder about useless things like this as well haha. It's just so cool
@UltimatePerfection
@UltimatePerfection 3 ай бұрын
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 3 ай бұрын
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 3 ай бұрын
@@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 3 ай бұрын
@@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 3 ай бұрын
Why not just turn the random tick speed to 0 ? And just disable fire spread
@feliksporeba5851
@feliksporeba5851 3 ай бұрын
@@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
@conred6635
@conred6635 3 ай бұрын
I'm studying this, and this was a lovely way to showcase some cyptrography concepts thanks man you earned my sub.
@BKBinary
@BKBinary 3 ай бұрын
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.
@farty555
@farty555 Ай бұрын
Awesome idea and awesome editing Also the code breaking part was very cool.
@offroaders123
@offroaders123 3 ай бұрын
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!
@princewaesen154
@princewaesen154 3 ай бұрын
okay the encrypted message bit was highy entertaining and it's fun to learn about substitution cypher this way, good video
@BKBinary
@BKBinary 3 ай бұрын
Thank you kind sir
@JProductionsYT
@JProductionsYT 3 ай бұрын
Wow, I never thought about it like that, but this is an awesome way to decode!
@BKBinary
@BKBinary 3 ай бұрын
Right! It’s pretty fun, just one big puzzle
@CandorPerlicious
@CandorPerlicious 3 ай бұрын
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
@Spike_365
@Spike_365 3 ай бұрын
This is so cool, I love how there are so many infinite possibilities in minecraft!
@jayjaymike1841
@jayjaymike1841 3 ай бұрын
5:02 c u m lmao
@core36
@core36 3 ай бұрын
“Sir, we found Minecraft world data on his hard drive” “That sick bastard”
@jameswalker199
@jameswalker199 3 ай бұрын
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?
@Oxey405
@Oxey405 3 ай бұрын
I had the same idea and never decided to do it but I'm glad you were able to manage this feat !
@soupotown70
@soupotown70 Ай бұрын
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
@dwin7206
@dwin7206 3 ай бұрын
this might be one of the greatest videos of all time
@BKBinary
@BKBinary 3 ай бұрын
Dwin gaming goated
@dwin7206
@dwin7206 3 ай бұрын
@@BKBinary collab coming soon??????
@BKBinary
@BKBinary 3 ай бұрын
@@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
@hoctoan1234
@hoctoan1234 3 ай бұрын
Your channel is a gem!
@taigo5766
@taigo5766 2 ай бұрын
Chud
@thegermanempire9015
@thegermanempire9015 3 ай бұрын
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 3 ай бұрын
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
@Mosern1977
@Mosern1977 3 ай бұрын
Reading and writing random blocks from Minecraft worlds would be where I would need help. But neat job in decoding a substitution cypher.
@TheRandom_Channel_idk
@TheRandom_Channel_idk 3 ай бұрын
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.
@hunterhicks6726
@hunterhicks6726 3 ай бұрын
Incredible work
@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
@freedomgoddess
@freedomgoddess 3 ай бұрын
this is literally the first couple of lectures from the cryptography class i took a year ago. pretty neat!
@Y4N-
@Y4N- 3 ай бұрын
For how small the channel is, the content is top Notch. I’ll be watching your career with great interest!
@jamesharding7536
@jamesharding7536 3 ай бұрын
Thanks
@koli4213
@koli4213 2 ай бұрын
I appreciate it man
@3xtremeAwesome
@3xtremeAwesome 3 ай бұрын
I think this is pretty rad too.
@Redbarony6
@Redbarony6 Ай бұрын
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! 😁👍
@agentcripper
@agentcripper 3 ай бұрын
this has been my secret project for this year.. seing you upload this hurts me
@myrustledjimmies
@myrustledjimmies 3 ай бұрын
The Daniel Larson clip caught me off guard.
@jamessizemore7103
@jamessizemore7103 3 ай бұрын
I’m just Imagining storing your data in Minecraft blocks only to have an enderman pick up blocks and corrupt your data😂
@WanderingWayfinderLibrarian
@WanderingWayfinderLibrarian 29 күн бұрын
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 26 күн бұрын
"Get out of my swaaaaaaaaaaa-----"
@DJSockmonkeyMusic
@DJSockmonkeyMusic 3 ай бұрын
Fabulous! Reasons don't matter, the concept is bloody brilliant.
@cobralyoner
@cobralyoner 3 ай бұрын
Nice tht you showed off how easy it actually is to decode a simple text like that. pretty cool
@coolguyx14
@coolguyx14 3 ай бұрын
So im theory can you store minecraft in minecraft?
@Mewinggojo69420
@Mewinggojo69420 Ай бұрын
Ya more or less
@isaacrista
@isaacrista Ай бұрын
But that's just a theory
@OverlordJacob
@OverlordJacob 23 күн бұрын
​@@isaacristaa game theory
@derzombiiie1598
@derzombiiie1598 3 ай бұрын
4:00 you can also infer the file type based on any header present
@rickychristian1369
@rickychristian1369 2 ай бұрын
type of content I live for. bless you sir.
@wlockuz4467
@wlockuz4467 3 ай бұрын
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 3 ай бұрын
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
@zackay6211
@zackay6211 3 ай бұрын
You should include hamming codes into the next plain text cipher, I find error correction fascinating.
@BKBinary
@BKBinary 3 ай бұрын
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 3 ай бұрын
@@BKBinary try Ben Eater's or 3brown 1blue's take on error correction
@BKBinary
@BKBinary 3 ай бұрын
@@zackay6211 both great channels. I'll watch them before my next project :)
@jesselapides4390
@jesselapides4390 3 ай бұрын
YESS!!! Use a hamming code, then blow up one TNT and see if it works
@magma90
@magma90 3 ай бұрын
If you swap the key every few blocks (any amount) it will be harder to predict, you will need to store every key though.
@rishigaming9708
@rishigaming9708 3 ай бұрын
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.
@sleeper6548
@sleeper6548 3 ай бұрын
Now I can store all of my homework file safely in minecraft! Great video btw
@Bonnie39
@Bonnie39 3 ай бұрын
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 3 ай бұрын
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 3 ай бұрын
@@floskater99 decoding this would probably get slower and slower with each layer of nbt data
@edgars9581
@edgars9581 3 ай бұрын
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 3 ай бұрын
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.
@anonymanonymus4706
@anonymanonymus4706 3 ай бұрын
The only reason I learnt programming:
@AlexandHuman
@AlexandHuman 3 ай бұрын
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.
@clads861
@clads861 3 ай бұрын
This is awesome content. Also, you look good bro. Glad you’re confident and use a face cam. Love it!
@BKBinary
@BKBinary 3 ай бұрын
Thanks! Appreciate that brother
@elygolden
@elygolden 3 ай бұрын
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 ☺️
@DaniDipp
@DaniDipp 3 ай бұрын
Would it be useful to print still unknown characters and decoded characters in white to make it easier to read?
@BKBinary
@BKBinary 3 ай бұрын
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
@theeggoplant
@theeggoplant Ай бұрын
might be my new favorite video
@donovanholm
@donovanholm 3 ай бұрын
This was a very interesting video to watch in the morning
@brandoncarstensen1637
@brandoncarstensen1637 3 ай бұрын
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 3 ай бұрын
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 3 ай бұрын
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
@AndrewS2972
@AndrewS2972 3 ай бұрын
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 3 ай бұрын
Yes
@BKBinary
@BKBinary 3 ай бұрын
Yeah the world size expanded quite a bit. That's a fun idea haha
@OidaSchwede5520
@OidaSchwede5520 3 ай бұрын
Nice Video bro ! But can you actually figure out how much it is increasing? Sorry, but just curious about it :D@@BKBinary
@BKBinary
@BKBinary 3 ай бұрын
@@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.
@AskanHelstroem
@AskanHelstroem 3 ай бұрын
5:30 Ohh...Broken Sword: The Shadow of the Templars was teaching me exactly that xDD what a lovely stroll down memory lane
@JOSD787
@JOSD787 2 ай бұрын
storing files in a video game shows how far technology has come, such a cool video!
@MrMustachio43
@MrMustachio43 3 ай бұрын
But can you make it so you can read and play the file in minecraft itself?
@_forsenE
@_forsenE 3 ай бұрын
1:16 face of cypher
@martinepstein9826
@martinepstein9826 Ай бұрын
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.
@darkjanggo
@darkjanggo Ай бұрын
i love your editing style, reminds me of how i did my one word story video lol
@blackcatdevel0per
@blackcatdevel0per 3 ай бұрын
Теперь я знаю ещё один способ зашифровать данные 🌚
@DataCraftsman
@DataCraftsman 3 ай бұрын
This is the REAL Databricks.
@Speedcubenz
@Speedcubenz 3 ай бұрын
Not sure why KZbin 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 👏
@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.
@5hadov
@5hadov 3 ай бұрын
so I think it's perfect time to encode doom in minecraft
@aolmsn
@aolmsn 3 ай бұрын
Doom really runs on everything
@sadface
@sadface 3 ай бұрын
That manual decryption was fun to watch and play along with, I was shouting letters at my screen lol
@kckj3301
@kckj3301 3 ай бұрын
hopefully nobody makes a bunch of nuclear weapon blueprints and conspires to topple a world power... in minecraft
@PlurpleUnicorn
@PlurpleUnicorn 3 ай бұрын
why was that so entertaining to watch you decipher that?
@loganxtryma6119
@loganxtryma6119 Күн бұрын
i love watching these and knowing nothing about coding and just being completely lost the whole time
@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.
@Aniga34574
@Aniga34574 3 ай бұрын
The way you decoded the text from incomprehensive to readable reminds me of FFX al bhed language that you decode during your play. Pretty nifty if I'm honest.
@Australienxo
@Australienxo 3 ай бұрын
its still hard to believe how much you can actually do with minecraft. Absolutely goated game
@BKBinary
@BKBinary 3 ай бұрын
Indeed the goat. Right behind Spelunky of course
@dementedd
@dementedd 3 ай бұрын
the decrypting part was really interesting
@ap_steezy
@ap_steezy 3 ай бұрын
Each letter is replaced, with its own color, then combine each color to create a word/final color, so for a example: T= Red, H= Green, E= Yellow, "the" would come out as a yellow-ish brown. now say there's a word like : Silent or Listen, they both have the same letters, so you'd have to use Context clues previous and after the word to decipher it to the correct word. most people would think what they were seeing was a toddlers weird drawling or some type of abstract pixel art, but in secret, it'd be a hidden language, it would still be hard to decipher what is what in the end cause you'd need to be very familiar with color wheels and combinations and the outcomes to get absolute or almost absolute answers. (this was a really cool video and I enjoyed the concept and idea you have for it, I look forward to watching some more of your content in the future!!) :)
@deusprogrammer_thekingofspace
@deusprogrammer_thekingofspace 3 ай бұрын
I’ve considered doing this, but with social media. Like creating threads on Facebook and storing pieces of files using steganography on images and some way of storing an ongoing checksum and ordering so that a user couldn’t break the file integrity with a stray post. Either that or potentially finding a way to hide data in the actual text. Either with something like purposeful misspellings, whitespace, punctuation, and/or capitalization.
@BKBinary
@BKBinary 3 ай бұрын
All good ideas. My first video is about using KZbin as infinite storage with steganography if you're interested. I find that concept to be really fascinating
@cujoedaman
@cujoedaman Ай бұрын
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.
We Made the BEST Music Machine in Minecraft
12:52
jazziiRed
Рет қаралды 1,6 МЛН
Why Minecraft Players Built a Real Life Supercomputer
23:24
HellCastle & Tylerrrr
Рет қаралды 714 М.
Nonomen funny video😂😂😂 #magic
00:27
Nonomen ノノメン
Рет қаралды 16 МЛН
Who enjoyed seeing the solar eclipse
00:13
Zach King
Рет қаралды 102 МЛН
82 - Glass basics
32:55
Thor's Modding Corner
Рет қаралды 201
The Minecraft boat-drop mystery
16:41
Stand-up Maths
Рет қаралды 820 М.
Is 8-Bit Minecraft Possible?
13:56
Inkbox
Рет қаралды 1 МЛН
Programming a 3D Printer to DESTROY Mobile Games
15:00
BK Binary
Рет қаралды 110 М.
I Made a Graph of Wikipedia... This Is What I Found
19:44
adumb
Рет қаралды 2 МЛН
The Quest for Minecrafts Any% Impenetrable Base
20:48
cubicmetre
Рет қаралды 484 М.
I built my own 16-Bit CPU in Excel
16:28
Inkbox
Рет қаралды 1,3 МЛН
Minecraft in 20 Seconds Explained in 20 Minutes
20:00
Bismuth
Рет қаралды 2,5 МЛН
Why you can't make a Perfect Circle with Beacons in Minecraft
8:53
Nonomen funny video😂😂😂 #magic
00:27
Nonomen ノノメン
Рет қаралды 16 МЛН