Skip to content

Instantly share code, notes, and snippets.

View Hardly-Human's full-sized avatar
🚀
Dream, Believe and Smile

Rehan uddin Hardly-Human

🚀
Dream, Believe and Smile
View GitHub Profile
@PradyumnaKrishna
PradyumnaKrishna / crypto.js
Last active March 28, 2023 20:48
RSA Encryption/Decryption in Python and Nodejs
const crypto = require('crypto');
var { publicKey, privateKey } = crypto.generateKeyPairSync('rsa', {
modulusLength: 4096,
publicKeyEncoding: {
type: 'spki',
format: 'pem'
}
});
@vasanthk
vasanthk / System Design.md
Last active November 14, 2024 11:31
System Design Cheatsheet

System Design Cheatsheet

Picking the right architecture = Picking the right battles + Managing trade-offs

Basic Steps

  1. Clarify and agree on the scope of the system
  • User cases (description of sequences of events that, taken together, lead to a system doing something useful)
    • Who is going to use it?
    • How are they going to use it?