{"id":22543238,"url":"https://github.com/sefinek/sefincipher","last_synced_at":"2026-05-09T01:02:59.091Z","repository":{"id":192951056,"uuid":"687785784","full_name":"sefinek/SefinCipher","owner":"sefinek","description":"sefin-cipher is a JavaScript module that offers text encoding and decoding capabilities through a customized character mapping.","archived":false,"fork":false,"pushed_at":"2023-09-06T05:05:52.000Z","size":63,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-19T18:51:00.960Z","etag":null,"topics":["cipher","cipher-algorithms","ciphers","ciphertext","module","nodejs","npm-cipher","npm-module","npm-package","sef3","sefin","sefin-cipher"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/sefin-cipher","language":"JavaScript","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/sefinek.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}},"created_at":"2023-09-06T02:12:17.000Z","updated_at":"2024-11-18T18:24:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"d4f8b253-b09c-4bab-900a-4bc7374c2099","html_url":"https://github.com/sefinek/SefinCipher","commit_stats":null,"previous_names":["sefinek24/sefin-cipher","sefinek/sefincipher"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sefinek%2FSefinCipher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sefinek%2FSefinCipher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sefinek%2FSefinCipher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sefinek%2FSefinCipher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sefinek","download_url":"https://codeload.github.com/sefinek/SefinCipher/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245991554,"owners_count":20706126,"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":["cipher","cipher-algorithms","ciphers","ciphertext","module","nodejs","npm-cipher","npm-module","npm-package","sef3","sefin","sefin-cipher"],"created_at":"2024-12-07T13:15:25.246Z","updated_at":"2026-05-09T01:02:59.084Z","avatar_url":"https://github.com/sefinek.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📜 SefinCipher Module Documentation\nSefinCipher is a JavaScript module that offers text encoding and decoding capabilities through a customized character mapping.\nIt enables you to encode and decode text by substituting characters with their respective values from the mapping.\nBelow, you will find instructions on how to utilize this module.\n\n## 📦 Installation\nYou can install the SefinCipher module using npm:\n```bash\nnpm install sefin-cipher\n```\n\n\n## 🧑‍💻 Usage\nOnce you've installed the module, you can use it in your JavaScript project as follows:\n```js\nconst sefinCipher = require('sefin-cipher');\n```\n\n## ✨ Available Ciphers\nThe SefinCipher module currently supports the following ciphers:\n\n| # | Name                     | Usage      | Functions         | Recommended? |\n|---|--------------------------|------------|:------------------|:-------------|\n| 1 | [SEF3](#sef3-cipher-map) | \u003c\u003e.sef3.\u003c\u003e | encode() decode() | ✅            |\n\n\n\n# 📑 SEF3 Cipher \u003cdiv id=\"sef3-cipher-map\"\u003e\u003c/div\u003e\n\n## 🔑 Map\nCipherMap is a predefined character mapping employed for encoding and decoding in the SEF3 cipher.\nIt establishes relationships between characters and their corresponding replacements. For instance:\n```js\nconst cipherMap = new Map([\n  ['a', 'dsa'],\n  ['b', 'nbv'],\n  ['c', 'zcx'],\n  // ... (other character mappings)\n  ['Z', 'ZXC'],\n  ['?', '\u003c?\u003e'],\n  ['!', '[!]']\n]);\n```\n\n### 🔡 Example\n```\n#### Text\nLorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\n\n#### Encoded\nLKL.s3,pio.s3,tre.s3,ter.s3,bnm.s3,ssj.s3,uio.s3,iop.s3,das.s3,yiu.s3,bnm.s3,ssj.s3,sdf.s3,pio.s3,lkl.s3,pio.s3,tre.s3,ssj.s3,das.s3,uio.s3,yrt.s3,ssj.s3,dsa.s3,bnm.s3,ter.s3,yrt.s3,,.s3,ssj.s3,zcx.s3\n,pio.s3,nmb.s3,das.s3,ter.s3,zcx.s3,yrt.s3,ter.s3,yrt.s3,yiu.s3,tre.s3,ssj.s3,dsa.s3,sdf.s3,uio.s3,iop.s3,uio.s3,das.s3,zcx.s3,uio.s3,nmb.s3,fgh.s3,ssj.s3,ter.s3,lkl.s3,uio.s3,yrt.s3,,.s3,ssj.s3,das.s3,ter.s3,sdf.s\n3,ssj.s3,sdf.s3,pio.s3,ssj.s3,ter.s3,uio.s3,yiu.s3,das.s3,bnm.s3,pio.s3,sdf.s3,ssj.s3,yrt.s3,ter.s3,bnm.s3,iop.s3,pio.s3,tre.s3,ssj.s3,uio.s3,nmb.s3,zcx.s3,uio.s3,sdf.s3,uio.s3,sdf.s3,yiu.s3,nmb.s3,yrt.s3,ssj.s3,yi\nu.s3,yrt.s3,ssj.s3,lkl.s3,dsa.s3,nbv.s3,pio.s3,tre.s3,ter.s3,ssj.s3,ter.s3,yrt.s3,ssj.s3,sdf.s3,pio.s3,lkl.s3,pio.s3,tre.s3,ter.s3,ssj.s3,bnm.s3,dsa.s3,fgh.s3,nmb.s3,dsa.s3,ssj.s3,dsa.s3,lkl.s3,uio.s3,qew.s3,yiu.s3,dsa.s3,.\n```\n\n\n## 📝 Encoding Text\nTo encode text using the SefinCipher module, you can use the encode function:\n```javascript\nconst encodedText = sefinCipher.sef3.encode(\"Do you like cats?\");\nconsole.log(encodedText); // Output: \"SDF.s3,pio.s3,ssj.s3,tuy.s3,pio.s3,yiu.s3,ssj.s3,lkl.s3,uio.s3,lkj.s3,ter.s3,ssj.s3,zcx.s3,dsa.s3,yrt.s3,das.s3,\u003c?\u003e\"\n```\n\n\n## 📤 Decoding Text\nTo decode a previously encoded text, use the decode function:\n```javascript\nconst decodedText = sefinCipher.sef3.decode(\"SDF.s3,pio.s3,ssj.s3,tuy.s3,pio.s3,yiu.s3,ssj.s3,lkl.s3,uio.s3,lkj.s3,ter.s3,ssj.s3,bnm.s3,dsa.s3,tuy.s3,nbv.s3,ter.s3,ssj.s3,zcx.s3,dsa.s3,yrt.s3,das.s3,\u003c?\u003e\");\nconsole.log(decodedText); // Output: \"Do you like cats?\"\n```\n\n# 🌟 Full Example\nHere's a complete example of encoding and then decoding text using the SefinCipher module:\n```javascript\nconst sefinCipher = require('sefin-cipher');\nconst textToEncode = \"Computer cat\";\n\nconst encodedText = sefinCipher.sef3.encode(textToEncode);\nconsole.log(\"Encoded:\", encodedText);\n\nconst decodedText = sefinCipher.sef3.decode(encodedText);\nconsole.log(\"Decoded:\", decodedText);\n```\n\n\n\n# 📜 License\nThis module is provided under the [MIT License](LICENSE). Feel free to use and modify it according to your needs.\n\nFor more information or to report issues, please visit the [GitHub repository](https://github.com/sefinek/sefin-cipher).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsefinek%2Fsefincipher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsefinek%2Fsefincipher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsefinek%2Fsefincipher/lists"}