{"id":22691571,"url":"https://github.com/osiris-unnefer/rsa_utils","last_synced_at":"2025-03-29T16:42:10.526Z","repository":{"id":255026981,"uuid":"848314875","full_name":"Osiris-Unnefer/RSA_Utils","owner":"Osiris-Unnefer","description":"RSA private key with N \u0026 P and Q","archived":false,"fork":false,"pushed_at":"2024-08-27T14:50:14.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-04T17:51:01.454Z","etag":null,"topics":["attack","cryptography","ctf","decryption","factorisation","rsa","rsa-algorithm","rsa-cryptography","rsa-decryption"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Osiris-Unnefer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-27T14:35:55.000Z","updated_at":"2024-09-14T14:04:05.000Z","dependencies_parsed_at":"2024-08-27T16:10:18.513Z","dependency_job_id":"8db1aa3e-c5c1-4572-95c1-00fec7e88c2a","html_url":"https://github.com/Osiris-Unnefer/RSA_Utils","commit_stats":null,"previous_names":["osiris-unnefer/rsa_utils"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Osiris-Unnefer%2FRSA_Utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Osiris-Unnefer%2FRSA_Utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Osiris-Unnefer%2FRSA_Utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Osiris-Unnefer%2FRSA_Utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Osiris-Unnefer","download_url":"https://codeload.github.com/Osiris-Unnefer/RSA_Utils/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246215820,"owners_count":20741894,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["attack","cryptography","ctf","decryption","factorisation","rsa","rsa-algorithm","rsa-cryptography","rsa-decryption"],"created_at":"2024-12-10T01:11:36.906Z","updated_at":"2025-03-29T16:42:10.493Z","avatar_url":"https://github.com/Osiris-Unnefer.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Values :\n\nPublic Key Exponent (65537 Generally) = E\n\nPUBLIC key Value = N\n\nPRIVATE key Value = D\n\nFACTOR 1 (prime1) = P\n\nFACTOR 2 (prime2) = Q\n\n(Fonction phi de Euler) INTERMEDIATE value PHI = φ\n\nCiphertext = C\n\n\n\nCalculs :\n\np and q with N (when N is not that big for factoring attack) = https://factordb.com/\n\nN = p*q\nφ(n) = (p - 1) × (q - 1)\nd × e ≡ 1 mod φ(n)\nM = C^d modulo n\nC = M^e modulo n\n\n\n\nI 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\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosiris-unnefer%2Frsa_utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fosiris-unnefer%2Frsa_utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosiris-unnefer%2Frsa_utils/lists"}