News for hackers. Stuff that matters.
Re:What are some innovative encryption methods? by benwilber0 on Tuesday October 31, 2017 @09:52AM (#15593207)
Not exactly "innovative", since it's one of the oldest encryption methods, but the One-Time Pad[0] is considered "perfect encryption" and proven to be unbreakable. The mere possibility of unbreakable encryption could fill up a thesis by itself.

[0] http://www.cs.utsa.edu/~wagner/laws/pad.html

<strike>edit to clarify: "unbreakable" is the wrong word, since it could be brute-forced with enough time and energy, like any encryption method.</strike>

yes it is completely unbreakable.

Re:What are some innovative encryption methods? by kabdib on Tuesday October 31, 2017 @10:07AM (#15593304)
No, one-time pads are really unbreakable. You can't tell if the key you generated, which yielded "ATTACK AT DAWN", decrypted to the real message. It might have been "HN != SLASHDOT" -- all decrypts are equally likely.
Re:What are some innovative encryption methods? by benwilber0 on Tuesday October 31, 2017 @10:16AM (#15593376)
edited thanks. he even explicitly said that it was unbreakable in the article I linked :-).
Re:What are some innovative encryption methods? by mseebach on Tuesday October 31, 2017 @10:34AM (#15593508)
The problem, of course, is that you're just flipping the problem around. For every bit you need to send A->B, you need to first securely send a bit B->A (the pad). That's practical for a number of applications, and obviously not for many others.
Re:What are some innovative encryption methods? by sounds on Tuesday October 31, 2017 @11:46AM (#15594073)
Combined with envelope keys it can be effective for many applications.

An envelope key is a securely, randomly generated key used to encrypt the large payload. Then the envelope key (much smaller than the payload) can be encrypted using a one time pad.

The result is that the precious bits of encryption provided by the one time pad are used up at a predictable rate.

Guessing the envelope key is more probable than guessing the one time pad key, but that only breaks a single message's encryption.

Re:What are some innovative encryption methods? by Someone on Tuesday October 31, 2017 @01:54PM (#15595113)
If you use good encryption and a reasonable key size, that’s good in practice, but theoretically, that’s a lot less secure than a one time pad.

An attacker can ‘simply’ try all possible keys and use statistics to filter out those that look like natural language.

If the encrypted text is large enough, chances are you will be left with only one plausible plaintext.

Also, AFAIK, we don’t know whether good encryption using a key much shorter than the plaintext, in the sense that an attacker can’t use statistics on the encrypted text to learn something about the key, exists at all.

Re:What are some innovative encryption methods? by sounds on Wednesday November 01, 2017 @01:52PM (#15603736)
Your final aside, "good encryption using a key much shorter than the plaintext," is something I hadn't really thought much about and seems like a reasonable way to go directly from a one time pad to the ciphertext.

As you say, there doesn't seem to be a way to guess the key length from the ciphertext. Ignoring side channel attacks for the moment, it does seem like the one time pad could encrypt the entire message simply by using some clever way of "extending" the key.

Re:What are some innovative encryption methods? by mseebach on Wednesday November 01, 2017 @03:31PM (#15604731)
> it does seem like the one time pad could encrypt the entire message simply by using some clever way of "extending" the key

Any way of meaningfully extending the key will be vulnerable to a kind of analysis well understood 70 years ago.

This is basically what almost the entire field of cryptography is about: Figure out how you can effectively and securely encrypt things with a key that's a lot shorter than your cleartext.

Re:What are some innovative encryption methods? by Someone on Wednesday November 01, 2017 @04:51PM (#15605371)
Indeed. The two simplest examples are the Caesar cipher (https://learncryptography.com/classical-encryption/caesar-ci..., key length of 1 character) and the Vigenère Cipher (https://learncryptography.com/classical-encryption/vigenere-..., key length as long as you want it to be)

Both extend the key by repeating it. That is not a good idea.

Re:What are some innovative encryption methods? by ISL on Tuesday October 31, 2017 @10:05AM (#15593284)
I don't believe that it can be brute forced, as brute-forcing may yield multiple reasonable decryptions with conflicting interpretations.
Re:What are some innovative encryption methods? by hawski on Tuesday October 31, 2017 @10:20AM (#15593404)
I was wondering if using randomly generated shared 1GB or so file as a kind of one-time pad would be useful. Xor data with it using it as circular buffer, do messages must be of the same length or it will go out of sync.
Re:What are some innovative encryption methods? by mseebach on Tuesday October 31, 2017 @10:35AM (#15593521)
If you reuse your pad, you're vulnerable to frequency analysis, which is literally the oldest trick in the book. You might as well send in plaintext.
Re:What are some innovative encryption methods? by hawski on Tuesday October 31, 2017 @06:46PM (#15597314)
How easy would it be if you would go through the entire 1GB and only then from the beginning? I guess it is a question of how big messages are.
Re:What are some innovative encryption methods? by mseebach on Wednesday November 01, 2017 @04:00AM (#15599500)
If you're only reusing it once, then I guess frequency analysis gets tricky, but the problem you have instead is that you have provided a validation function: Where, using a one-time-pad, any key that yields plausible cleartext is a possible candidate, if you have two cyphertexts encoded with the same (piece of) the one-time-pad, only keys that result in plausible decrypted cleartext for both cyphertexts are possible candidates.

This was how an early break-through in breaking the Enigma was achieved (tangentially, as the Enigma isn't a one-time-pad, but the analysis is similar): Codes were rotated daily, but the first message sent out every morning with the new codes was a weather-report. Thus, the team could immediately cull the search-space to keys that would decrypt to "Weather on [date]" for the first n characters.

Re:What are some innovative encryption methods? by vectorEQ on Tuesday October 31, 2017 @12:29PM (#15594451)
this is the only fully 100% proven crypto method. rest is 'weak' , only saved by lack of computing power, not actual difficulty of algorithm. problem with otp is dat if you can send the pad... you mightswell not use it. as the pad needs to be sent over secure channel. So it's unbreakable, but also impractical.
Re:What are some innovative encryption methods? by sweis on Tuesday October 31, 2017 @07:42PM (#15597720)
Your friend is not going to get PhD thesis topics by asking his friend to post on HN.

Regardless, here's what I think are interesting areas in recent crypto:

- Performance improvements in fully homomorphic encryption, starting with Gentry's work in 2009.

- Practical applications of secure multiparty computation, e.g. Dyadic Security and Google's SMC work.

- Non-NIST standards with actual adoption like Curve25519 and Chacha20-Poly1305

- Functional Encryption: http://eprint.iacr.org/2010/543

- Post-quantum crypto like New Hope (https://eprint.iacr.org/2015/1092) and Supersingular Isogenies (http://eprint.iacr.org/2011/506)

- Candidate functions for Multilinear Maps, e.g. https://eprint.iacr.org/2012/610

- Hardware-based secure enclaves like SGX

Re:What are some innovative encryption methods? by drmeena on Thursday November 02, 2017 @04:53AM (#15608801)
Hellow sweis, actually he is posted for me, due to some technical issues I could not. how can u say that I can't get thesis topic? and thank you for your reference links.
Re:What are some innovative encryption methods? by INTPenis on Tuesday October 31, 2017 @09:06AM (#15592900)
Innovative methods of gathering entropy is interesting to me. Because encryption methods are pretty darwinian. The good ones are heavily used and the quirky/bad ones fall into disuse.

But methods of gathering entropy can range from a microphone recording a city street to the classic keyboard/mouse.

Both are valid, but not as practical.

Personally I have the OneRNG, an open source usb-stick that gathers entropy by generating RF noise.

There are other devices like that out today.

Re:What are some innovative encryption methods? by loourr on Tuesday October 31, 2017 @09:42AM (#15593139)
Re:What are some innovative encryption methods? by bonyt on Tuesday October 31, 2017 @10:22AM (#15593417)
Expanding on that, zk-snarks[0], a kind of non-interactive zero-knowledge proof[1] are really interesting. They're used as the basis for the anonymous cryptocurrency zcash[2], where one can prove they haven't already spent an input without actually revealing which input they are spending.

[0]: https://z.cash/technology/zksnarks.html

[1]: https://en.wikipedia.org/wiki/Non-interactive_zero-knowledge...

[2]: https://z.cash/

Re:What are some innovative encryption methods? by mofojed on Tuesday October 31, 2017 @09:04AM (#15592886)
Post-quantum key exchange using ring learning with errors and hybrid solutions: https://eprint.iacr.org/2014/599.pdf
Re:What are some innovative encryption methods? by DanGarcia595 on Tuesday October 31, 2017 @09:14AM (#15592954)
This is really cool! I know Supersingular Isogeny Diffie-Hellman has a patch to build the cipher suite into OpenSSL [0] like the paper you linked. I know that Microsoft Research also has the best known implementation of SIDH [1]. Do you know of any paper studying the performance of those two?

[0] https://github.com/dconnolly/sidh-for-openssl-patch

[1] https://github.com/Microsoft/PQCrypto-SIDH

Re:What are some innovative encryption methods? by mofojed on Tuesday October 31, 2017 @09:27AM (#15593039)
The closest paper I can find comparing performance would be this one (section 3.4 for performance): https://eprint.iacr.org/2016/1017.pdf

Check out the Open Quantum Systems implementation, they've got a suite incorporating a number of quantum resistant algorithms: https://github.com/open-quantum-safe/liboqs

They have the SIDH implementation you mentioned (https://github.com/open-quantum-safe/liboqs/blob/master/docs...), and a test harness for comparing performance.

Re:What are some innovative encryption methods? by DanGarcia595 on Tuesday October 31, 2017 @09:32AM (#15593077)
Really great stuff. Thanks!
Re:What are some innovative encryption methods? by omginternets on Tuesday October 31, 2017 @08:29AM (#15592695)
Obligatory mention of homomorphic encryption [0].

[0] https://en.wikipedia.org/wiki/Homomorphic_encryption

Re:What are some innovative encryption methods? by Arubis on Tuesday October 31, 2017 @09:44AM (#15593144)
I initially read this as “homeopathic encryption”, and was prepared to be very amused! Expected something along the lines of “the input is subjected to a random bit flip approximately once per 10kB; amongst practitioners, this is considered more effective than the unnecessarily heavyweight approach taken by Western-style encryption schemes.”
Re:What are some innovative encryption methods? by CiPHPerCoder on Tuesday October 31, 2017 @09:58AM (#15593245)
Oh, I think you're thinking of homeopathic KDFs. Homeopathic encryption users just use the Crystalline cipher, because it helps center our chakras.
Re:What are some innovative encryption methods? by DanGarcia595 on Tuesday October 31, 2017 @08:52AM (#15592814)
Post-Quantum Cryptography using Supersingular Isogenies: https://eprint.iacr.org/2011/506.pdf
Re:What are some innovative encryption methods? by Cieplak on Tuesday October 31, 2017 @08:38AM (#15592742)
Re:What are some innovative encryption methods? by sweis on Tuesday October 31, 2017 @07:33PM (#15597650)
Nobody uses anything related Wolfram's cellular automata. I don't think there are any robust security proofs.
Re:What are some innovative encryption methods? by DanBC on Tuesday October 31, 2017 @10:42AM (#15593567)
I'd like to see more analysis of things like CHAFFINCH.

https://www.cl.cam.ac.uk/~rnc1/Chaffinch.html

Re:What are some innovative encryption methods? by ask2sk on Monday November 06, 2017 @08:34AM (#15635276)
Hi, thank you. it seems novel. can you please elaborate it, could it be applied for biometric authentication!
Re:What are some innovative encryption methods? by badrabbit on Tuesday October 31, 2017 @11:53AM (#15594130)
Identity based encryption.

https://en.wikipedia.org/wiki/ID-based_encryption

"Identity-based systems allow any party to generate a public key from a known identity value such as an ASCII string. A trusted third party, called the Private Key Generator (PKG), generates the corresponding private keys...."

I think it's innovative and a bit of "thinking outside the box". You do need to ultimately trust a 3rd party (same as in PKI or WOT I guess?).

Re:What are some innovative encryption methods? by probinso on Wednesday November 01, 2017 @10:08PM (#15607256)
Shamir Secret Sharing is very cool and fairly old. It introduces a tool that inspires many neat applications.

There is a lot of interesting work in privacy preserving databases as well.

Re:What are some innovative encryption methods? by pizza on Tuesday October 31, 2017 @09:21AM (#15592994)
Re:What are some innovative encryption methods? by vectorEQ on Tuesday October 31, 2017 @12:28PM (#15594445)
i think this is pretty cool ,and getting more relevant now quantum computers are comming closer...

https://en.wikipedia.org/wiki/McEliece_cryptosystem

Re:What are some innovative encryption methods? by ask2sk on Thursday November 02, 2017 @04:39AM (#15608745)
Thanks everyone. I have forward all your ideas and suggestions to my friend.