{"id":18469781,"url":"https://github.com/valen-h/caesar","last_synced_at":"2025-05-11T21:39:52.798Z","repository":{"id":143795683,"uuid":"127516980","full_name":"Valen-H/Caesar","owner":"Valen-H","description":"A file encryptor with caesar cipher algorithm.","archived":false,"fork":false,"pushed_at":"2018-04-01T10:30:08.000Z","size":30,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-09T01:54:56.164Z","etag":null,"topics":["caesar","cipher","encryption","module","node","terminal"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Valen-H.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2018-03-31T09:10:43.000Z","updated_at":"2021-08-23T07:51:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"233dc040-d867-45c9-86df-735377b936a2","html_url":"https://github.com/Valen-H/Caesar","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Valen-H%2FCaesar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Valen-H%2FCaesar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Valen-H%2FCaesar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Valen-H%2FCaesar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Valen-H","download_url":"https://codeload.github.com/Valen-H/Caesar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253479724,"owners_count":21915203,"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":["caesar","cipher","encryption","module","node","terminal"],"created_at":"2024-11-06T10:11:43.904Z","updated_at":"2025-05-10T20:29:33.829Z","avatar_url":"https://github.com/Valen-H.png","language":"JavaScript","readme":"# Caesar  \n  \n***Caesar*** is a file encryptor tool inspired by the Caesar-Cipher wheel.  \n  \n## How it works  \n  It simply shifts characters by `key`.  \n  e.g: `value : test, key : 1 =\u003e value : uftu, key : 1`  \n  \n***  \n  \n### Usage  \n * Terminal : `mode=cipher|decipher key=1 file=... safe=false wheel=ASCII|HEX|\"abcd...\" npm start` where `safe` is a boolean which controls whether character that does not belong to the `wheel` passed will be encrypted by the default wheel [Symbol('ASCII')]. `wheel` is a string containing all encryption characters in row, characters that do not appear in there **will not** be encrypted if `safe` is 'false'. Other formats : `file=... npm run cipher file.txt`, `npm run start file key mode wheel safe`.  \n * Binary : run `npm test` to install module globally and get access to `cc file` command which is the same as 'Terminal Run'.  \n * Module : the *Caesar* class contains the following : 3 static methods : `cipher(value, key[, wheel, safe]), decipher(value, key[, wheel, safe]), fromFile(path) //\u003c- returns a Caesar object that emits 'ready' and 'saved' events on itself`. Instances have the following methods : `cipher(key), cipher(value, key[, wheel, safe]), decipher(key), decipher(value, key[, wheel, safe]), toFile([path]) //\u003c- specifying 'path' is not necessary for objects created with fromFile method.`  \n\u003e Note that if you try to use instance operations on fromFile objects before they load ('ready'), they emit a 'fail' event on themselves and the `global`","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvalen-h%2Fcaesar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvalen-h%2Fcaesar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvalen-h%2Fcaesar/lists"}