{"id":21904060,"url":"https://github.com/m1ga/ti-crypt","last_synced_at":"2025-04-15T20:51:12.876Z","repository":{"id":80614841,"uuid":"42395549","full_name":"m1ga/ti-crypt","owner":"m1ga","description":"Asymmetric Encryption with RSA (private/public key)","archived":false,"fork":false,"pushed_at":"2022-01-04T15:47:00.000Z","size":110,"stargazers_count":5,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-29T01:13:04.485Z","etag":null,"topics":["android","encryption","titanium-mobile","titanium-module"],"latest_commit_sha":null,"homepage":"","language":"Java","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/m1ga.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-09-13T12:48:27.000Z","updated_at":"2024-05-29T02:54:35.000Z","dependencies_parsed_at":"2023-07-08T02:45:55.371Z","dependency_job_id":null,"html_url":"https://github.com/m1ga/ti-crypt","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m1ga%2Fti-crypt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m1ga%2Fti-crypt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m1ga%2Fti-crypt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m1ga%2Fti-crypt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/m1ga","download_url":"https://codeload.github.com/m1ga/ti-crypt/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249153909,"owners_count":21221330,"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":["android","encryption","titanium-mobile","titanium-module"],"created_at":"2024-11-28T15:31:11.013Z","updated_at":"2025-04-15T20:51:12.868Z","avatar_url":"https://github.com/m1ga.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Asymmetric Encryption with RSA for Titanium (Android)\n\niOS Version: https://github.com/moritzknecht/TiRSA\n\n## RSA Example:\n\n```javascript\nvar crypt = require(\"miga.ticrypt\");\nvar keypair = crypt.generateKeyPair();\n\nconsole.log(\"Pub: \" + keypair.publicKey);\nconsole.log(\"Priv: \" + keypair.privateKey);\n\nvar txt = crypt.encode({\n    plainText: \"test text\",\n    publicKey: keypair.publicKey\n});\nconsole.log(\"Encode: \" + txt);\n\nvar txt_decode = crypt.decode({\n    cipherText: txt,\n    privateKey: keypair.privateKey\n});\n\nconsole.log(\"Decode: \" + txt_decode);\n\n$.index.open();\n\n```\n\n\n## AES Example:\n\n```javascript\nlet crypt = require(\"miga.ticrypt\");\nlet aesCrypto = crypt.createCryptoAES();\nlet aesKey = aesCrypto.generateKey();\nconsole.log(\"AES key: \" + aesKey);\nlet txt = aesCrypto.crypt(aesKey, \"test text\");\nconsole.log(\"AES Encode: \" + txt);\n\nlet txt_decode =  aesCrypto.decrypt(txt, aesKey);\nconsole.log(\"AES Decode: \" + txt_decode);\n```\n\n## Contributions:\n* blacktiago (https://github.com/blacktiago)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm1ga%2Fti-crypt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fm1ga%2Fti-crypt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm1ga%2Fti-crypt/lists"}