{"id":15009220,"url":"https://github.com/maximan3000/caesarcipher","last_synced_at":"2026-02-13T15:32:30.497Z","repository":{"id":57721365,"uuid":"148064106","full_name":"maximan3000/CaesarCipher","owner":"maximan3000","description":"Java library that implements Caesar Cipher (Keyed Caesar)","archived":false,"fork":false,"pushed_at":"2020-10-13T12:32:49.000Z","size":3858,"stargazers_count":3,"open_issues_count":2,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-23T09:14:13.734Z","etag":null,"topics":["caesar-cipher","caesar-cipher-algorithm","encryption","java","java-library","maven"],"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/maximan3000.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}},"created_at":"2018-09-09T20:42:48.000Z","updated_at":"2022-09-05T09:36:35.000Z","dependencies_parsed_at":"2022-09-26T21:41:30.908Z","dependency_job_id":null,"html_url":"https://github.com/maximan3000/CaesarCipher","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/maximan3000/CaesarCipher","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maximan3000%2FCaesarCipher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maximan3000%2FCaesarCipher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maximan3000%2FCaesarCipher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maximan3000%2FCaesarCipher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maximan3000","download_url":"https://codeload.github.com/maximan3000/CaesarCipher/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maximan3000%2FCaesarCipher/sbom","scorecard":{"id":629267,"data":{"date":"2025-08-11","repo":{"name":"github.com/maximan3000/CaesarCipher","commit":"54fd138ab9cb5c566e30425be72753eec39e74b8"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/29 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 2 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-21T07:22:43.240Z","repository_id":57721365,"created_at":"2025-08-21T07:22:43.240Z","updated_at":"2025-08-21T07:22:43.240Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273341430,"owners_count":25088346,"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-09-02T02:00:09.530Z","response_time":77,"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":["caesar-cipher","caesar-cipher-algorithm","encryption","java","java-library","maven"],"created_at":"2024-09-24T19:23:44.563Z","updated_at":"2026-02-13T15:32:30.445Z","avatar_url":"https://github.com/maximan3000.png","language":"Java","readme":"[![Maven Central](https://img.shields.io/maven-central/v/com.github.maximan3000/caesar-cipher.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:%22com.github.maximan3000%22%20AND%20a:%22caesar-cipher%22)\n# Caesar Cipher (Keyed Caesar) java library\n\nJava library for Ceasar Cipher (Keyed Caesar) that can:\n\n1. Encrypt \u0026 decrypt english text using keyword and keyword offset (shift)\n2. Hack encrypted english text using frequency of letters and dictionary of words\n\n## Requirements\n\n* Java JDK 1.8 or later\n\n## Installation\n\n#### Maven users\n```\n\u003cdependency\u003e\n  \u003cgroupId\u003ecom.github.maximan3000\u003c/groupId\u003e\n  \u003cartifactId\u003ecaesar-cipher\u003c/artifactId\u003e\n  \u003cversion\u003e1.0.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n#### Gradle Groovy DSL\n```\nimplementation 'com.github.maximan3000:caesar-cipher:1.0.0'\n```\n\n## Algorithm\n\n* [Read it on wikipedia.org](https://en.wikipedia.org/wiki/Caesar_cipher)\n\n## Usage\n\n#### Encrypt/Decrypt text\n\nCreate an encryption system instance\n```java\nimport com.grayen.encryption.caesar.algorithm.Caesar;\nimport com.grayen.encryption.caesar.algorithm.implementation.CaesarFabric;\n\nCaesar encryption = CaesarFabric.getEncryptionSystem();\n```\n\nEncrypt text using your keywords and offset or it's default values\n```java\nString textToEncrypt = \"Text need to encrypt\";\n\nString encryptedText = encryption.encrypt(textToEncrypt, \"keyword\", 5);\n```\n\nDecrypt with the same way\n```java\nString textToDecrypt = \"Xcyx pccb xq cpauwsx\";\n\nString decryptedText = encryption.decrypt(textToDecrypt, \"keyword\", 5);\n```\n\n#### Hack text\n\nHack system uses dictioanry with english words to improve hacking quality.\nSo you need to create string array with many words.\nTo do that, download large book with .txt extention and parse it to string[].\n\n\n```java\nimport java.nio.file.FileSystems;\nimport java.nio.charset.StandardCharsets;\nimport java.nio.file.Path;\nimport java.nio.file.Files;\n\nPath sourceFile = FileSystems.getDefault().getPath(\"BigBook.txt\");\nList\u003cString\u003e fileLines = Files.readAllLines(sourceFile, StandardCharsets.UTF_8);\nString[] dictionary = fileLines.toArray(new String[0]);\n```\n\nCreate hack system instance. \n* Note 1: successful hack depends on encrypted text size\n* Note 2: text for dictionary should be large\n```java\nimport com.grayen.encryption.caesar.hack.Hack;\nimport com.grayen.encryption.caesar.hack.implementation.HackFactory;\n\nHack hack = HackFactory.getCaesarEncryptionHack(encryptedText, dictionary);\n```\n\nHack encrypted text\n```java\nString hackedText = hack.hack();\n```\n\nIf it's need, correct hacked text with hands and hack the text again\n```java\nhack.correctEncryptionTableWithHand(\"a\", \"x\");\nString hackedText = hack.hack();\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaximan3000%2Fcaesarcipher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaximan3000%2Fcaesarcipher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaximan3000%2Fcaesarcipher/lists"}