Cryptography nerd

Fediverse accounts;
[email protected] (main)
[email protected]
[email protected]

@[email protected]

Bluesky: natanael.bsky.social

  • 1 Post
  • 699 Comments
Joined 2 years ago
cake
Cake day: August 16th, 2023

help-circle
  • Wireguard is most reliable in terms of security. For censorship resistance, it’s all about tunneling it in a way that looks indistinguishable from normal traffic

    Domain or IP doesn’t make much of a difference. If somebody can block one they can block the other. The trick is not getting flagged. Domain does make it easier to administer though with stuff like dyndns, but then you also need to make sure eSNI is available (especially if it’s on hosting) and that you’re using encrypted DNS lookups



  • There’s also a big difference between published specifications and threat models for the encryption which professionals can investigate in the code delivered to users, versus no published security information at all with pure reverse engineering as the only option

    Apple at least has public specifications. Experts can dig into it and compare against the specs, which is far easier than digging into that kind of code blindly. The spec describes what it does when and why, so you don’t have to figure that out through reverse engineering, instead you can focus on looking for discrepancies

    Proper open source with deterministic builds would be even better, but we aren’t getting that out of Apple. Specs is the next best thing.

    BTW, plugging our cryptography community: [email protected]





  • Natanael@slrpnk.nettoProgrammer Humor@programming.devLDAC
    link
    fedilink
    arrow-up
    9
    arrow-down
    1
    ·
    edit-2
    2 months ago

    The Nyquist-Shannon sampling theorem isn’t subjective, it’s physics.

    Your example isn’t great because it’s about misconceptions about the eye, not about physical limits. The physical limits for transparency are real and absolute, not subjective. The eye can perceive quick flashes of objects that takes less than a thousandth of a second. The reason we rarely go above 120 Hz for monitors (other than cost) is because differences in continous movement barely can be perceived so it’s rarely worth it.

    We know where the upper limits for perception are. The difference typically lies in the encoder / decoder or physical setup, not the information a good codec is able to embedd with that bitrate.



  • Natanael@slrpnk.nettoProgrammer Humor@programming.devLDAC
    link
    fedilink
    arrow-up
    10
    arrow-down
    1
    ·
    edit-2
    2 months ago

    Why use lossless for that when transparent lossy compression already does that with so much less bandwidth?

    Opus is indistinguishable from lossless at 192 Kbps. Lossless needs roughly 800 - 1400 Kbps. That’s a savings of between 4x - 7x with the exact same quality.

    Your wireless antenna often draws more energy in proportion to bandwidth use than the decoder chip does, so using high quality lossy even gives you better battery life, on top of also being more tolerant to radio noise (easier to add error correction) and having better latency (less time needed to send each audio packet). And you can even get better range with equivalent radio chips due to needing less bandwidth!

    You only need lossless for editing or as a source for transcoding, there’s no need for it when just listening to media










  • Natanael@slrpnk.nettoProgrammer Humor@programming.devLDAC
    link
    fedilink
    arrow-up
    69
    arrow-down
    1
    ·
    2 months ago

    Opus! It’s a merge of a codec designed for speech (from Skype!) with one designed for high quality audio by Xiph (same people who made OGG/Vorbis).

    Although it needs some more work on latency, it prefers to work on bigger frames but default than Bluetooth packets likes, but I’ve seen there’s work on standardizing a version that fits Bluetooth. Google even has it implemented now on Pixel devices.

    Fully free codec!