{"id":15521488,"url":"https://github.com/sjc5/crypto","last_synced_at":"2025-04-15T02:54:09.032Z","repository":{"id":149992781,"uuid":"622683196","full_name":"sjc5/crypto","owner":"sjc5","description":"Assorted high-level cryptography utils in TypeScript","archived":false,"fork":false,"pushed_at":"2023-04-03T01:35:20.000Z","size":45,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-12T23:44:36.397Z","etag":null,"topics":["crypto","decryption","encryption","high-level","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/sjc5.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2023-04-02T20:23:02.000Z","updated_at":"2024-05-27T18:55:42.000Z","dependencies_parsed_at":"2023-04-11T11:57:46.120Z","dependency_job_id":null,"html_url":"https://github.com/sjc5/crypto","commit_stats":null,"previous_names":["sjc5/crypto"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjc5%2Fcrypto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjc5%2Fcrypto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjc5%2Fcrypto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjc5%2Fcrypto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sjc5","download_url":"https://codeload.github.com/sjc5/crypto/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224901302,"owners_count":17388949,"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","decryption","encryption","high-level","typescript"],"created_at":"2024-10-02T10:35:02.248Z","updated_at":"2024-11-16T09:41:00.108Z","avatar_url":"https://github.com/sjc5.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @sjc5/crypto\n\nSimple, high-level crypto utils in TypeScript.\n\nHas two dependencies:\n`tweetnacl` for the underlying crypto and `@stablelib/base64` for base64 encoding utils.\n\n## Installation:\n\n```sh\nnpm i @sjc5/crypto\n```\n\n## Usage:\n\n```ts\nimport { random_key, encrypt, decrypt } from \"@sjc5/crypto\"\n\nconst message = \"hello world\"\nconst key = random_key()\n\nconst encrypted_message = encrypt({ message, key })\nconst decrypted = decrypt({ encrypted_message, key })\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsjc5%2Fcrypto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsjc5%2Fcrypto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsjc5%2Fcrypto/lists"}