{"id":32522080,"url":"https://github.com/titemov/cipolla-algorithm","last_synced_at":"2025-10-28T06:51:12.004Z","repository":{"id":318768319,"uuid":"1076484377","full_name":"titemov/Cipolla-algorithm","owner":"titemov","description":"Cipolla algorithm made on Java.","archived":false,"fork":false,"pushed_at":"2025-10-15T00:29:41.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-15T04:07:50.401Z","etag":null,"topics":["algorithm","algorithms","cipolla","java","legendre-symbol","prime-numbers"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/titemov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-14T23:43:08.000Z","updated_at":"2025-10-15T00:29:44.000Z","dependencies_parsed_at":"2025-10-15T11:37:58.263Z","dependency_job_id":"dc850357-6991-4c3f-8648-d011b276f014","html_url":"https://github.com/titemov/Cipolla-algorithm","commit_stats":null,"previous_names":["titemov/cipolla-algorithm"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/titemov/Cipolla-algorithm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/titemov%2FCipolla-algorithm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/titemov%2FCipolla-algorithm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/titemov%2FCipolla-algorithm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/titemov%2FCipolla-algorithm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/titemov","download_url":"https://codeload.github.com/titemov/Cipolla-algorithm/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/titemov%2FCipolla-algorithm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281397302,"owners_count":26493908,"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","status":"online","status_checked_at":"2025-10-28T02:00:06.022Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["algorithm","algorithms","cipolla","java","legendre-symbol","prime-numbers"],"created_at":"2025-10-28T06:51:11.152Z","updated_at":"2025-10-28T06:51:12.000Z","avatar_url":"https://github.com/titemov.png","language":"Java","readme":"# Cipolla-algorithm\nCipolla's algorithm made on Java.\n\n## TODO:\n- [ ] Add Miller–Rabin primality test\n\n## System requirements\nJava version 24.0.1  \n\n## Compilation\n\n### Windows\n\n1. Download latest [JDK](https://download.oracle.com/java/24/latest/jdk-24_windows-x64_bin.exe) and install it (adding variables to PATH).\n\n2. Make sure you have javac.exe compiler `C:\\Users\\USER\\.jdks\\jdk-{version}\\bin\\javac.exe`\n\n3. To compile, open command line in __source code directory__ and write  \n   `javac.exe  Main.java`\n   \n    - If you have problems with javac.exe, try to write __absolute path__ to javac.exe (see p.2)\n      \n\n4. After compilation run `Main` file:\n   `java Main`\n\n### Linux (Debian/Ubuntu)\n\n1. Run `sudo apt update` and `sudo apt upgrade`\n\n2. Download latest [JDK](https://www.oracle.com/java/technologies/downloads/) for your Linux system and install it.\n\n3. To compile, open command line in __source code directory__ and write  \n   `javac Main.java`\n\n4. After compilation run `Main` file:  \n   `java Main`\n\n\n# Sources:\n- [Cipolla's Algorithm](https://en.wikipedia.org/wiki/Cipolla%27s_algorithm)\n- [Legendre symbol](https://en.wikipedia.org/wiki/Legendre_symbol)\n- Big thanks to [SeroviICAI](https://github.com/SeroviICAI/Modular_Arithmetic_Python/tree/master) project\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftitemov%2Fcipolla-algorithm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftitemov%2Fcipolla-algorithm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftitemov%2Fcipolla-algorithm/lists"}