Live data from Hacker News

Horcrux: Split your file into encrypted fragments

github.com

61–70 of 153 posts

Re: Horcrux: Split your file into encrypted fragments

#61
No idea what algorithm it uses, but if you want to be fancy, pass each fragment of the encrypted file thru a DFT, and save each k-th frequency into a separate file. Such a file will appear as an image with a curious pattern, or an audio file, so if anyone asks, that "4 wav" is music. What's interesting is that 1.wav and 2.wav (and other k.wav) will be nearly identical, so they can be put together into a 7.1ch audio stream (if splitting into 8 pieces). Bonus points: apply flac encoding on top.

Re: Horcrux: Split your file into encrypted fragments

#63
Huh I threw together something like this a few weeks ago using asymmetric keys - pass a file and key and it output as smaller encrypted files.

Only way to decrypt them - have all the files and the key.

Didn't think it was that useful but seems similar to the functionality, but I like that you don't need to share a key here.

Re: Horcrux: Split your file into encrypted fragments

#65

Earlier quoted context omitted.

> Contrast to Lord of the Rings' assault on marriage, where wearing the ring makes you invisible and slowly fade into nothingness, "like butter being scraped over too much bread". Wait, what ? Eh...

Well, I think that's ostensible, as any reading of the author's biography can attest.

Well, when it's put like that ^^.

It's just that I never thought about it in that way, that outlook took me by surprise :).

I read the Howard Carter biography more than 25 years ago and I don't remember much about that aspect, I was more geeking about lotr at that time than Tolkien's opinions.

Re: Horcrux: Split your file into encrypted fragments

#66
post #40
post #27

Earlier quoted context omitted.

Yes, but no! Technically, horcruxes were backups, but the emotional weight of the concept came from splitting your soul, lessening your essence as you hedge against danger. Partial backups follow the spirit of the idea better. As an aside, I read the concept as an attack on promiscuity. "Whore crux". Contrast to Lord of the Rings' assault on marriage, where wearing the ring makes you invisible and slowly fade into no…

To be fair, the creator of HP is a crazy conservative. So, the idea of "Whore crux" being an attempt of fighting promiscuity isn't surprising.

This is a ridiculous take, Rowling is basically a cookie cutter late-second wave feminist, exactly the kind of person you'd expect a liberal in the 80s to be.

And since I assume you're inferring she's conservative from the popular opinion that she's anti-trans, if you read her political views, she supports transgender rights unequivocally but doesn't like what she perceives as MtF support encroaching on support systems for biological women. Make what you will of exactly "how" liberal she is, but she is literally pro-trans-rights and a feminist which is completely incompatible with conservatism. And furthermore, it's exactly the kind of take you'd expect from someone who formed their political identity in the 80s.

Re: Horcrux: Split your file into encrypted fragments

#67
post #40
post #27

Earlier quoted context omitted.

Yes, but no! Technically, horcruxes were backups, but the emotional weight of the concept came from splitting your soul, lessening your essence as you hedge against danger. Partial backups follow the spirit of the idea better. As an aside, I read the concept as an attack on promiscuity. "Whore crux". Contrast to Lord of the Rings' assault on marriage, where wearing the ring makes you invisible and slowly fade into no…

To be fair, the creator of HP is a crazy conservative. So, the idea of "Whore crux" being an attempt of fighting promiscuity isn't surprising.

Conservative is good when the alternative is moral rot that supports promiscuity.

Re: Horcrux: Split your file into encrypted fragments

#69
post #55

Earlier quoted context omitted.

1. You need all the shards of the key to decrypt the text instead of just reaching a threshold. 2. The full encrypted text is available to each person, making it vulnerable to a brute force attack at some point in the far future. I'm not entirely sure if this implementation actually covers that second point though. It could be including the entire encrypted text with each copy. But it would theoretically be possible…

The second point, yeah that's relevant. On the first point, just give each person n-1 shards, each missing a different one. Then any 2 can decrypt. Or configure it for however many participants there are and they minimum number needed to encrypt.

The key part about Shamir is that having any number of shards short of the threshold doesn't reveal anything about the secret. Let's say you split your 256 bit encryption key into 4 64-bit pieces with each person getting 3 of the 4. Each person now knows 3/4 of the secret. Now any one person simply has to brute force the remaining 64 bits of the key in order to decrypt.

Re: Horcrux: Split your file into encrypted fragments

#70
post #27

Earlier quoted context omitted.

Yes, but no! Technically, horcruxes were backups, but the emotional weight of the concept came from splitting your soul, lessening your essence as you hedge against danger. Partial backups follow the spirit of the idea better. As an aside, I read the concept as an attack on promiscuity. "Whore crux". Contrast to Lord of the Rings' assault on marriage, where wearing the ring makes you invisible and slowly fade into no…

I don't recall reading anything about lessening the soul, maybe as a byproduct of the process but not something that was intentional. Horcrux was to backup the soul and I believe any one fragment is enough to allow for recovery.

https://www.potter-search.com/?search=Horcrux

> “Seven! Isn’t it bad enough to think of killing one person? And in any case . . . bad enough to divide the soul . . . but to rip it into seven pieces ...”

> Lord Voldemort has seemed to grow less human with the passing years, and the transformation he has undergone seemed to me to be only explicable if his soul was mutilated beyond the realms of what we might call ‘usual evil’

Post reply on HN