Storing Files in Minecraft | Project Showcase 3

Поділитися
Вставка
  • Опубліковано 14 тра 2024
  • 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,4 тис.

  • @AJMansfield1
    @AJMansfield1 3 місяці тому +2307

    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 місяці тому +338

      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 місяці тому +108

      @@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 місяці тому +74

      @@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 місяці тому +61

      @@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 місяці тому +36

      @@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.

  • @xrayessay
    @xrayessay 3 місяці тому +3248

    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 місяці тому +1427

      Least intensive 2b2t project

    • @cephelos1098
      @cephelos1098 3 місяці тому +360

      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 місяці тому +160

      @@cephelos1098 you just need to dupe 256 different blocks a shit ton of times

    • @clockworkjirachi6437
      @clockworkjirachi6437 3 місяці тому +54

      @@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 місяці тому +47

      *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.

  • @LOL_MANN
    @LOL_MANN 3 місяці тому +6658

    WE ARE HIDING HOMEWORK FOLDER WITH THIS ONE 🗣🗣🗣🔥🔥🔥🔥🔥💯💯💯💯💯

    • @BKBinary
      @BKBinary  3 місяці тому +1573

      this man got terabytes for sure

    • @emerald5567
      @emerald5567 3 місяці тому +179

      hi mom I'm looking at po- I mean I'm doing my homework

    • @_GhostMiner
      @_GhostMiner 3 місяці тому +35

      Toto touch grass tiktoker

    • @eggs8021
      @eggs8021 3 місяці тому +10

      My man

    • @colevilleproductions
      @colevilleproductions 3 місяці тому +32

      one of the most creative comments i’ve seen

  • @Tommy50377
    @Tommy50377 3 місяці тому +2748

    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 місяці тому +1062

      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 місяці тому +113

      7chest

    • @tr7zw
      @tr7zw 3 місяці тому +156

      @@BKBinary afaik Minecraft(and paper) has fixed this in later versions. The 2B2T thing was in 1.12.2.

    • @NabekenProG87
      @NabekenProG87 3 місяці тому +21

      Wouldnt maps be able to store even more?

    • @BKBinary
      @BKBinary  3 місяці тому +133

      @@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 місяці тому +1335

    I have no idea why seeing you decoding this journal entry was so entertaining to me, but it really was.

    • @RomanPro100
      @RomanPro100 3 місяці тому +4

      I have no idea why this bit is in the video if it's is not about deciphering

    • @meesvandenberg9468
      @meesvandenberg9468 3 місяці тому +9

      @@RomanPro100 would make a great game

    • @WatercraftGames
      @WatercraftGames 3 місяці тому +2

      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!

  • @0xCAFEF00D
    @0xCAFEF00D 3 місяці тому +510

    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 місяці тому +25

      Or letters case. Mb like this: "m=Z; f=W; "

    • @OctagonalSquare
      @OctagonalSquare Місяць тому +3

      I don’t know if VSCode terminal output allows colored text output

    • @DestopLine
      @DestopLine Місяць тому +5

      @@OctagonalSquareIt does

  • @Mandude4200
    @Mandude4200 3 місяці тому +118

    Enderman comes and breaks the whole thing

    • @Super_ATI
      @Super_ATI Місяць тому +11

      Looks like the file has been corropted

    • @koimananana
      @koimananana Місяць тому +5

      ​@@Super_ATIcorrection algorythm saves the day!

    • @vlc-cosplayer
      @vlc-cosplayer 16 днів тому

      Datamoshing 👀

    • @teamok1025
      @teamok1025 4 дні тому

      ​@@koimanananawhoops a creeper destroyed the blocks that is used data that has code for data correction algorithm

    • @teamok1025
      @teamok1025 4 дні тому

      ​@@koimanananawhoops a creeper destroyed the blocks that is used data that has code for data correction algorithm

  • @JANICKGMO_
    @JANICKGMO_ 3 місяці тому +146

    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 Місяць тому +1

      It looks like that 3:32 .

  • @SyburrMSM
    @SyburrMSM 3 місяці тому +108

    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. ❤

    •  3 місяці тому +6

      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 Місяць тому +1

      UA-cam recommended me this and I was surprised that there's none of that annoying shit

  • @nataly_171
    @nataly_171 3 місяці тому +269

    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 місяці тому +48

      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: ua-cam.com/video/V6X2BHpeLww/v-deo.html

    • @ragnarok7976
      @ragnarok7976 3 місяці тому +19

      ​@@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 3 дні тому

      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 3 місяці тому +202

    *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 місяці тому +1

      You won't get anything from translating enchanting tables though. They just use gibberish.

    • @the_veemonator
      @the_veemonator Місяць тому +4

      Its not gibberish, they are actually words, Not just random letters.​@questwalkerko

    • @chickennugget481
      @chickennugget481 Місяць тому +1

      also, the standard galactic alphabet is from commander keen iirc

    • @jansakasan
      @jansakasan Місяць тому

      ​@@the_veemonator welllllll they are nonsense words

  • @ollllj
    @ollllj 3 місяці тому +118

    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 місяці тому +18

      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 місяці тому +9

      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 місяці тому +2

      @@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.

  • @Dookybootie
    @Dookybootie 3 місяці тому +12

    “…In Mincraft” has a whole new meaning. Thank you for sharing this.

  • @ashurean
    @ashurean 3 місяці тому +30

    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 місяці тому +6

      Thank you I really appreciate it. Kind felt messages like this are why Ive been continuing to make these

  • @iHateHandlesGetRidOfThis
    @iHateHandlesGetRidOfThis 3 місяці тому +19

    god that diary has so many references... i like the binding of isaac.

  • @Hearever
    @Hearever 3 місяці тому +87

    You need more recognition bro you put way to much effort into these video

  • @XceptionalBro
    @XceptionalBro 3 місяці тому +26

    This absolutely qualifies as a harder drive, nice!

    • @WTFBOOMDOOM
      @WTFBOOMDOOM 3 місяці тому +1

      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.

  • @Toleich
    @Toleich 3 місяці тому +9

    Masterful content bait leading to a really interesting insight into code breaking.
    Well done!

  • @eatbolt42
    @eatbolt42 2 місяці тому +1

    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!

  • @AZMGD
    @AZMGD 3 місяці тому +33

    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

  • @jamessizemore7103
    @jamessizemore7103 3 місяці тому +8

    I’m just Imagining storing your data in Minecraft blocks only to have an enderman pick up blocks and corrupt your data😂

    • @WanderingWayfinderLibrarian
      @WanderingWayfinderLibrarian Місяць тому +2

      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 5 днів тому +1

      Just like real life, where cosmic rays cause bit flip errors haha

  • @sheevpalps66
    @sheevpalps66 3 місяці тому +9

    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 місяці тому +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 3 місяці тому +1

      @@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 місяці тому +2

      ​@@BKBinaryyou could theoretically utilize a fake player that will always be at the position of the 'writer' so the chunks will always be loaded

  • @FroddeB
    @FroddeB 3 місяці тому +2

    Great video, love how you turned something fun and silly into informative about decryption methods. Subscribed

  • @rexwasserman5921
    @rexwasserman5921 3 місяці тому +14

    i did not expect daniel larson lore to be encrypted in minecraft blocks

  • @SUPERNOOB20
    @SUPERNOOB20 3 місяці тому +19

    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 місяці тому +4

      Appreciate it kind sir. I’m glad I could inspire you :)

  • @pqul2828
    @pqul2828 3 місяці тому +39

    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!

  • @michal_king478
    @michal_king478 3 місяці тому +2

    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 місяці тому +1

      We have the same brain. I always wonder about useless things like this as well haha. It's just so cool

  • @princewaesen154
    @princewaesen154 3 місяці тому +4

    okay the encrypted message bit was highy entertaining and it's fun to learn about substitution cypher this way, good video

    • @BKBinary
      @BKBinary  3 місяці тому +1

      Thank you kind sir

  • @davidakoskovacs9598
    @davidakoskovacs9598 3 місяці тому +11

    This is really interesting, thank you for the introduction to codebreaking :D

    • @BKBinary
      @BKBinary  3 місяці тому +2

      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.

  • @ODISeth
    @ODISeth 3 місяці тому +10

    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

  • @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!

  • @SissypheanCatboy
    @SissypheanCatboy 3 місяці тому +26

    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 місяці тому +1

      You mean like in the game "Prose & Codes" right?

    • @electrofoxx1276
      @electrofoxx1276 3 місяці тому +1

      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

  • @MrFunny01
    @MrFunny01 3 місяці тому +16

    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 місяці тому +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

  • @conred6635
    @conred6635 3 місяці тому +5

    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.

  • @JProductionsYT
    @JProductionsYT 3 місяці тому +4

    Wow, I never thought about it like that, but this is an awesome way to decode!

    • @BKBinary
      @BKBinary  3 місяці тому +1

      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

  • @dunnydunn458
    @dunnydunn458 3 місяці тому +9

    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..."

  • @UltimatePerfection
    @UltimatePerfection 3 місяці тому +58

    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 місяці тому +34

      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 місяці тому +12

      @@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 місяці тому +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

  • @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 !

  • @farty555
    @farty555 2 місяці тому

    Awesome idea and awesome editing
    Also the code breaking part was very cool.

  • @core36
    @core36 3 місяці тому +4

    “Sir, we found Minecraft world data on his hard drive”
    “That sick bastard”

    • @jameswalker199
      @jameswalker199 3 місяці тому +2

      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?

  • @jayjaymike1841
    @jayjaymike1841 3 місяці тому +5

    5:02 c u m lmao

  • @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

  • @Spike_365
    @Spike_365 3 місяці тому

    This is so cool, I love how there are so many infinite possibilities in minecraft!

  • @hoctoan1234
    @hoctoan1234 3 місяці тому +5

    Your channel is a gem!

  • @dwin7206
    @dwin7206 3 місяці тому +6

    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

  • @alkatraztsubasa
    @alkatraztsubasa 2 місяці тому +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

  • @thegermanempire9015
    @thegermanempire9015 3 місяці тому +1

    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

  • @Y4N-
    @Y4N- 3 місяці тому +9

    For how small the channel is, the content is top Notch. I’ll be watching your career with great interest!

  • @alexanderdelguidice4660
    @alexanderdelguidice4660 3 місяці тому +87

    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 місяці тому +23

      Interesting, I didn't know this

    • @teknixstuff
      @teknixstuff 3 місяці тому +25

      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 місяці тому +13

      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 місяці тому +1

      ​@@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)

  • @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.

  • @agentcripper
    @agentcripper 3 місяці тому +2

    this has been my secret project for this year.. seing you upload this hurts me

  • @hunterhicks6726
    @hunterhicks6726 3 місяці тому +4

    Incredible work

  • @coolguyx14
    @coolguyx14 3 місяці тому +17

    So im theory can you store minecraft in minecraft?

  • @cobralyoner
    @cobralyoner 3 місяці тому

    Nice tht you showed off how easy it actually is to decode a simple text like that. pretty cool

  • @freedomgoddess
    @freedomgoddess 3 місяці тому

    this is literally the first couple of lectures from the cryptography class i took a year ago. pretty neat!

  • @3xtremeAwesome
    @3xtremeAwesome 3 місяці тому +3

    I think this is pretty rad too.

  • @myrustledjimmies
    @myrustledjimmies 3 місяці тому +5

    The Daniel Larson clip caught me off guard.

  • @Redbarony6
    @Redbarony6 Місяць тому +1

    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! 😁👍

  • @wlockuz4467
    @wlockuz4467 3 місяці тому +2

    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 місяці тому +2

      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

  • @foxinrot
    @foxinrot 3 місяці тому +4

    4:00 you can also infer the file type based on any header present

  • @TheRandom_Channel_idk
    @TheRandom_Channel_idk 3 місяці тому +7

    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.

  • @AlexandHuman
    @AlexandHuman 3 місяці тому +2

    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.

  • @JOSD787
    @JOSD787 3 місяці тому

    storing files in a video game shows how far technology has come, such a cool video!

  • @magma90
    @magma90 3 місяці тому +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.

  • @zackay6211
    @zackay6211 3 місяці тому +6

    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 місяці тому +2

      @@BKBinary try Ben Eater's or 3brown 1blue's take on error correction

    • @BKBinary
      @BKBinary  3 місяці тому +1

      @@zackay6211 both great channels. I'll watch them before my next project :)

    • @jesselapides4390
      @jesselapides4390 3 місяці тому +2

      YESS!!! Use a hamming code, then blow up one TNT and see if it works

  • @DJSockmonkeyMusic
    @DJSockmonkeyMusic 3 місяці тому

    Fabulous! Reasons don't matter, the concept is bloody brilliant.

  • @donovanholm
    @donovanholm 3 місяці тому +1

    This was a very interesting video to watch in the morning

  • @elygolden
    @elygolden 3 місяці тому +11

    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 ☺️

  • @anonymanonymus4706
    @anonymanonymus4706 3 місяці тому +3

    The only reason I learnt programming:

  • @darkjanggo
    @darkjanggo Місяць тому

    i love your editing style, reminds me of how i did my one word story video lol

  • @rickychristian1369
    @rickychristian1369 2 місяці тому

    type of content I live for. bless you sir.

  • @Bonnie39
    @Bonnie39 3 місяці тому +12

    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 місяці тому +1

      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 місяці тому +1

      @@floskater99 decoding this would probably get slower and slower with each layer of nbt data

    • @edgars9581
      @edgars9581 3 місяці тому +1

      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 місяці тому +1

      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.

  • @_forsenE
    @_forsenE 3 місяці тому +8

    1:16 face of cypher

  • @theeggoplant
    @theeggoplant Місяць тому

    might be my new favorite video

  • @sleeper6548
    @sleeper6548 3 місяці тому

    Now I can store all of my homework file safely in minecraft!
    Great video btw

  • @blackcatdevel0per
    @blackcatdevel0per 3 місяці тому +5

    Теперь я знаю ещё один способ зашифровать данные 🌚

  • @DaniDipp
    @DaniDipp 3 місяці тому +4

    Would it be useful to print still unknown characters and decoded characters in white to make it easier to read?

    • @BKBinary
      @BKBinary  3 місяці тому +1

      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

  • @Speedcubenz
    @Speedcubenz 3 місяці тому

    Not sure why UA-cam 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 👏

  • @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

  • @brandoncarstensen1637
    @brandoncarstensen1637 3 місяці тому +7

    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 місяці тому +1

      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 місяці тому +2

      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

  • @MrMustachio43
    @MrMustachio43 3 місяці тому +3

    But can you make it so you can read and play the file in minecraft itself?

  • @rishigaming9708
    @rishigaming9708 3 місяці тому +2

    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.

  • @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.

  • @AndrewS2972
    @AndrewS2972 3 місяці тому +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 місяці тому +1

      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.

  • @DataCraftsman
    @DataCraftsman 3 місяці тому +5

    This is the REAL Databricks.

  • @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.

  • @AskanHelstroem
    @AskanHelstroem 3 місяці тому +1

    5:30 Ohh...Broken Sword: The Shadow of the Templars was teaching me exactly that xDD
    what a lovely stroll down memory lane

  • @5hadov
    @5hadov 3 місяці тому +5

    so I think it's perfect time to encode doom in minecraft

    • @aolmsn
      @aolmsn 3 місяці тому +1

      Doom really runs on everything

  • @loganxtryma6119
    @loganxtryma6119 8 днів тому

    i love watching these and knowing nothing about coding and just being completely lost the whole time

  • @PlurpleUnicorn
    @PlurpleUnicorn 3 місяці тому

    why was that so entertaining to watch you decipher that?

  • @Australienxo
    @Australienxo 3 місяці тому +1

    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

  • @xX_H347H3R_Xx
    @xX_H347H3R_Xx Місяць тому +1

    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.

  • @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!!) :)

  • @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.

  • @sadface
    @sadface 3 місяці тому

    That manual decryption was fun to watch and play along with, I was shouting letters at my screen lol

  • @dementedd
    @dementedd 3 місяці тому +1

    the decrypting part was really interesting

  • @deusprogrammer_thekingofspace
    @deusprogrammer_thekingofspace 3 місяці тому +1

    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 UA-cam as infinite storage with steganography if you're interested. I find that concept to be really fascinating

  • @JusstDexx
    @JusstDexx 3 місяці тому

    This is the kind of video I watch while eating my food