{"id":18055955,"url":"https://github.com/mogeko/aes-gcm","last_synced_at":"2025-04-05T09:42:44.619Z","repository":{"id":259819829,"uuid":"871836230","full_name":"mogeko/aes-gcm","owner":"mogeko","description":"AES-GCM library for TypeScript/JavaScript","archived":false,"fork":false,"pushed_at":"2025-01-27T02:42:42.000Z","size":30,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-10T20:20:55.051Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/mogeko.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":"2024-10-13T04:32:30.000Z","updated_at":"2024-11-25T11:04:32.000Z","dependencies_parsed_at":"2024-10-28T06:51:33.171Z","dependency_job_id":"6aeeeedf-0f86-41f1-9ae0-dca1f99c5cf3","html_url":"https://github.com/mogeko/aes-gcm","commit_stats":null,"previous_names":["mogeko/aes-gcm"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mogeko%2Faes-gcm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mogeko%2Faes-gcm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mogeko%2Faes-gcm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mogeko%2Faes-gcm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mogeko","download_url":"https://codeload.github.com/mogeko/aes-gcm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247318728,"owners_count":20919483,"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":[],"created_at":"2024-10-31T01:12:57.491Z","updated_at":"2025-04-05T09:42:44.597Z","avatar_url":"https://github.com/mogeko.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @mogeko/aes-gcm\n\n[![Test](https://github.com/mogeko/aes-gcm/actions/workflows/test.yaml/badge.svg)](https://github.com/mogeko/aes-gcm/actions/workflows/test.yaml)\n[![Codecov](https://codecov.io/gh/mogeko/aes-gcm/graph/badge.svg?token=TxIJDlUwIc)](https://codecov.io/gh/mogeko/aes-gcm)\n[![JSR](https://jsr.io/badges/@mogeko/aes-gcm)](https://jsr.io/@mogeko/aes-gcm)\n\nA library that implements AES-GCM algorithm encryption and decryption for\nTypeScript/JavaScript.\n\nGalois/Counter Mode (GCM) uses a block cipher with block size 128 bits (commonly\nAES-128) operated in counter mode for encryption, and uses arithmetic in the\nGalois field GF(2128) to compute the authentication tag; hence the name.\n\n## Installation\n\n```sh\ndeno add @mogeko/aes-gcm\n```\n\nFor Node.js users:\n\n```sh\nnpx jsr add @mogeko/aes-gcm\n```\n\n## Usage\n\n```ts\nimport { decrypt, encrypt } from \"jsr:@mogeko/aes-gcm\";\nimport { assertEquals } from \"jsr:@std/assert/equals\";\n\nconst cipher = await encrypt(\"Hello, world!\", \"pa$$w0rd\");\n\nassertEquals(await decrypt(cipher, \"pa$$w0rd\"), \"Hello, world!\");\n```\n\n## LICENSE\n\nThe code in this project is released under the [MIT License](./LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmogeko%2Faes-gcm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmogeko%2Faes-gcm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmogeko%2Faes-gcm/lists"}