{"id":26701688,"url":"https://github.com/marshallovski/asnk-vas1","last_synced_at":"2025-03-27T01:29:50.225Z","repository":{"id":275794974,"uuid":"927216110","full_name":"marshallovski/asnk-vas1","owner":"marshallovski","description":"little cryptographic algorithm for en- and decrypting text","archived":false,"fork":false,"pushed_at":"2025-02-04T16:07:51.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-04T16:45:23.551Z","etag":null,"topics":["crypto","crypto-tools","cryptography","decryption","decryption-algorithm","encrypt","encryption","encryption-algorithm","encryption-algorithms","encryption-decryption","text"],"latest_commit_sha":null,"homepage":"https://marshallovski.github.io/asnk-vas1/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/marshallovski.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":"2025-02-04T15:44:18.000Z","updated_at":"2025-02-04T16:07:54.000Z","dependencies_parsed_at":"2025-02-04T16:56:18.606Z","dependency_job_id":null,"html_url":"https://github.com/marshallovski/asnk-vas1","commit_stats":null,"previous_names":["marshallovski/asnk-vas1"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marshallovski%2Fasnk-vas1","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marshallovski%2Fasnk-vas1/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marshallovski%2Fasnk-vas1/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marshallovski%2Fasnk-vas1/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marshallovski","download_url":"https://codeload.github.com/marshallovski/asnk-vas1/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245764370,"owners_count":20668396,"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":["crypto","crypto-tools","cryptography","decryption","decryption-algorithm","encrypt","encryption","encryption-algorithm","encryption-algorithms","encryption-decryption","text"],"created_at":"2025-03-27T01:29:49.608Z","updated_at":"2025-03-27T01:29:50.215Z","avatar_url":"https://github.com/marshallovski.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# asnk-vas1\ncryptographic algorithm for encrypting text, salt-based\n\u003cbr\u003e\n\u003ca href=\"https://marshallovski.github.io/asnk-vas1/playground/\"\u003eLive playground\u003c/a\u003e\n\n## Salt variants\nyou can use any other salt-generator, see other methods in `./utils/salt`\n\u003cbr\u003e\nalso, you can write your own, but important thing is - salt must be a number \n\n## Possibilities\n`vas-1` can be used in a browser, or a server.\n\u003cbr\u003e\nVas-1 uses `String.charCodeAt` and `String.fromCharCode` to transform characters. All characters could be encrypted (maybe).\n\n# Usage example\n```js\n// in browser, don't forget to add `type=\"module\"` to your \u003cscript\u003e\nconst asnk = new Asnk('vas-1');\n\nimport { cryptoRandomNumber } from \"./utils/salt/cryptoRandomNumber.js\"; \n\nconst text = 'Hello, World!';\nconst salt = await cryptoRandomNumber();\n\nconst encryptedText = await asnk.encrypt({ text, salt });\nconsole.log(encryptedText);\n```\n\n\u003cb\u003eAlso, see `index.js`\u003c/b\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarshallovski%2Fasnk-vas1","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarshallovski%2Fasnk-vas1","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarshallovski%2Fasnk-vas1/lists"}