Skip to content

Instantly share code, notes, and snippets.

Avatar

Brennan Kinney polarathene

  • Auckland, New Zealand
View GitHub Profile
@polarathene
polarathene / answer.md
Created Dec 14, 2020
crypto.stackexchange - RSA security strength in relation to modulus size
View answer.md

Answer posted to: https://crypto.stackexchange.com/questions/8687/security-strength-of-rsa-in-relation-with-the-modulus-size

A moderator deleted it about a month later on the basis it wouldn't be useful to anyone due to mostly being a code port.

Making it available to public here in case it'd be useful for anyone else. Running JS or Rust is possibly more easily accessible than the two options in answers provided.


For anyone else curious and wanting to run the math via a language that is more available/accessible (eg a REPL via a web browser), I ported the answer by Charles to Javascript (ES6) below:

@polarathene
polarathene / answer.md
Created Dec 14, 2020
security.stackexchange - Passwords - Explaining why length alone does not make passwords stronger
View answer.md

Answer posted to: https://security.stackexchange.com/questions/60691/length-of-passwords-that-are-rainbow-table-safe

Moderator deleted it on the basis that my answer focused too much as a response to another, and didn't address the actual question (which it did).

I have since heard back that if I modify the answer to more directly address the question, it'd be considered for undeletion. No time for that at present, sharing this in case it benefits anyone else.


As I lack the reputation to post a comment to Mac's answer; I just wanted to point out that the emphasis on length only applies if a brute force attack was carried out to exhaust the Key Space character by character.

You can’t perform that action at this time.