{"id":15463236,"url":"https://github.com/thuoe/securityprogram","last_synced_at":"2025-03-28T11:22:55.030Z","repository":{"id":117356933,"uuid":"94930125","full_name":"thuoe/SecurityProgram","owner":"thuoe","description":null,"archived":false,"fork":false,"pushed_at":"2017-07-20T16:32:16.000Z","size":33,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-02-02T11:43:31.203Z","etag":null,"topics":["des","java","security"],"latest_commit_sha":null,"homepage":null,"language":"Java","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/thuoe.png","metadata":{"files":{"readme":"README.txt","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":"2017-06-20T20:00:40.000Z","updated_at":"2017-07-20T16:32:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"4da007d4-1269-4659-8bcc-ae016c345bf2","html_url":"https://github.com/thuoe/SecurityProgram","commit_stats":{"total_commits":2,"total_committers":2,"mean_commits":1.0,"dds":0.5,"last_synced_commit":"f9d32c098c5db4f5c11e159257cc78b6c7791a65"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thuoe%2FSecurityProgram","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thuoe%2FSecurityProgram/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thuoe%2FSecurityProgram/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thuoe%2FSecurityProgram/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thuoe","download_url":"https://codeload.github.com/thuoe/SecurityProgram/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246018193,"owners_count":20710328,"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":["des","java","security"],"created_at":"2024-10-02T00:08:07.149Z","updated_at":"2025-03-28T11:22:55.003Z","avatar_url":"https://github.com/thuoe.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"Please Compile and Run the Demonstrate.java file. Ensure all java files are together for successful compiling. HTML files for documentation can be found in the HTML directory. For writing to a text file, remove code on line 41 in Bob.java to view puzzles.txt file. This was used to prevent overflow of reading puzzles if user decides to run program more than once.\n\nWe were unsure as to whether to create a random 2 byte segment of the key randomly between the values 0-65536 or not. Instead we generated a random key with no bounds. Below was a possible method of the key generation with 65536 as a bound. \n\n private byte[] generateRandom(){\n    byte[] zeroBytes = new byte[6];\n    Random random = new Random();\n    byte[] randomBytes = CryptoLib.smallIntToByteArray(random.nextInt(65536));\n    Arrays.fill(zeroBytes, (byte) 0);\n    System.arraycopy(randomBytes, 0, key, 0, 2);\n    System.arraycopy(zeroBytes, 0, key, 2, 6);\n    return key;\n}\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthuoe%2Fsecurityprogram","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthuoe%2Fsecurityprogram","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthuoe%2Fsecurityprogram/lists"}