{"id":51080438,"url":"https://github.com/kkbt0/xxtea-ts","last_synced_at":"2026-06-23T17:03:49.624Z","repository":{"id":209812628,"uuid":"725008228","full_name":"kkbt0/xxtea-ts","owner":"kkbt0","description":"XXTEA for encryption algorithm library TypeScript.","archived":false,"fork":false,"pushed_at":"2023-11-29T08:57:34.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-11-30T09:48:25.094Z","etag":null,"topics":["deno","ts","xxtea"],"latest_commit_sha":null,"homepage":"","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/kkbt0.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}},"created_at":"2023-11-29T08:48:40.000Z","updated_at":"2023-11-29T08:51:52.000Z","dependencies_parsed_at":"2023-11-29T09:44:38.415Z","dependency_job_id":"acd90668-e140-4f6f-86cf-8c85da4ccf16","html_url":"https://github.com/kkbt0/xxtea-ts","commit_stats":null,"previous_names":["kkbt0/xxtea-ts"],"tags_count":1,"template":null,"template_full_name":null,"purl":"pkg:github/kkbt0/xxtea-ts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kkbt0%2Fxxtea-ts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kkbt0%2Fxxtea-ts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kkbt0%2Fxxtea-ts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kkbt0%2Fxxtea-ts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kkbt0","download_url":"https://codeload.github.com/kkbt0/xxtea-ts/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kkbt0%2Fxxtea-ts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34698946,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-23T02:00:07.161Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["deno","ts","xxtea"],"created_at":"2026-06-23T17:03:47.306Z","updated_at":"2026-06-23T17:03:49.617Z","avatar_url":"https://github.com/kkbt0.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# XXTEA for TypeScript\n\n\n## Introduction\n\nXXTEA is a fast and secure encryption algorithm. This is a XXTEA library for TypeScript.\n\nIt is different from the original XXTEA encryption algorithm. It encrypts and decrypts String instead of uint32 Array, and the key is also String.\n\n\n## Usage\n\n```typescript\n\nimport XXTEA from \"./mod.ts\";\n\nlet str: string = \"Hello World! 你好，中国🇨🇳！\";\nlet key: string = \"1234567890\";\nconsole.log(\"test str: \" + str);\n\nlet encrypt_data: any = XXTEA.encryptToBase64(str, key);\n//encryptToBase64: afecHTbSuY20uCrBxOb+joLzYPkIXQ7pF/YT7AmpYRI6ns4O\nconsole.log(\"encryptToBase64: \" + encrypt_data);\n\nlet decrypt_data: any = XXTEA.decryptFromBase64(encrypt_data, key);\nconsole.log(\"decryptFromBase64: \" + decrypt_data);\nconsole.log(\"decryptFromBase64 success: \" + (str === decrypt_data));\n\nencrypt_data = XXTEA.encrypt(str, key);\nconsole.log(\"encrypt to binary: \" + encrypt_data);\ndecrypt_data = XXTEA.decrypt(encrypt_data, key);\nconsole.log(\"decrypt from binary: \" + decrypt_data);\nconsole.log(\"decrypt from binary success: \" + (str === decrypt_data));\n\n```\n\n\nhttps://github.com/xxtea/xxtea-js MIT license  \nhttps://github.com/zhaidw/xxtea-ts MIT license\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkkbt0%2Fxxtea-ts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkkbt0%2Fxxtea-ts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkkbt0%2Fxxtea-ts/lists"}