Err(()).unwrap()

Partisanship is a cancer. Inaction is a choice.

Singular they. Or whatever you like, I won’t take offence.
100% win rate in Highguard. Proud member of the Banned By Tesseract Club.

  • 15 Posts
  • 1.23K Comments
Joined 3 年前
cake
Cake day: 2023年6月24日

help-circle






  • The first game I ever paid for, but did not directly purchase, was Garry’s Mod in 2011 or 2012 after UndeadPatch stopped working. I didn’t have a bank account, so I paid a classmate in cash to gift it to me. Considering that I first learned programming through Wiremod’s Expression 2 chip (basically a virtual ESP32), leading directly to my computer science studies and my current job as a sysadmin, I’d say it was $10 well spent.

    My first purchase on Steam was “The Classic”, a sniper rifle in TF2, just to remove my account’s F2P trading restriction.

    Then I got a whole bunch of games through Humble Bundle’s subscription. The first one was December of 2018, specifically for MGSV.

    The first game I ever actually bought, actually on Steam, was Slay The Spire.








  • Fuck me, if my choice is between five flavours of Javascript, I’d rather use PHP. I’m developing a QML application and having to work around that abomination that the clinically insane want to call “arrays” in Javascript makes me want to fucking die. There’s also a QList type implemented by QML. It doesn’t help. Array.isArray(qlist) returns false.




  • Yes… but no. You probably saw a rendering error.

    The private keys in question were only eight bits in length (decimal values 0 to 255). A proper key for the specific encryption should have been 384 bits, or about 116 decimal digits. If a string format function expects a 384 bit number, but only receives 8, it might fill out the missing places with zeroes.



  • The encryption that SSL/TLS provides (that puts the “secure” in HTTPS) uses a public–private key pair and a specific mathematical function. Generating the key pair requires a cryptographically secure random number that is impossible or very difficult to guess, which must be kept secret at all times. If this random number is leaked or guessed by a malicious actor, the private key can be reconstructed and used to impersonate a website or break the encryption.

    The security of the encryption comes from the fact that the function is easy to calculate one way, but difficult to calculate its inverse. To demonstrate: multiplying the prime numbers 88117 and 44543 is easy, but the inverse, factorizing the semiprime 3924995531, is extremely lengthy in comparison.

    One of the factors that determine the security of the key is the size of the number, i.e. the number of digits. In this case, a proper key should’ve had a length of 384 bits (or 116 decimal digits). In reality, the keys that eMudhra used had eight bits, which can only represent 256 possible values, and can be easily guessed even by brute force. The specific private keys were the numbers 4, 56, 66, 115, 155, 156, 230, and 237.