An open API service indexing awesome lists of open source software.

https://github.com/osiris-unnefer/rsa_utils

RSA private key with N & P and Q
https://github.com/osiris-unnefer/rsa_utils

attack cryptography ctf decryption factorisation rsa rsa-algorithm rsa-cryptography rsa-decryption

Last synced: 3 months ago
JSON representation

RSA private key with N & P and Q

Awesome Lists containing this project

README

        

Values :

Public Key Exponent (65537 Generally) = E

PUBLIC key Value = N

PRIVATE key Value = D

FACTOR 1 (prime1) = P

FACTOR 2 (prime2) = Q

(Fonction phi de Euler) INTERMEDIATE value PHI = φ

Ciphertext = C

Calculs :

p and q with N (when N is not that big for factoring attack) = https://factordb.com/

N = p*q
φ(n) = (p - 1) × (q - 1)
d × e ≡ 1 mod φ(n)
M = C^d modulo n
C = M^e modulo n

I have many other tools that I would make presentable for the additions after, such as decryptors with or without padding, a private key setting and others