{"id":22472516,"url":"https://github.com/theduardomaciel/cryptosia-web","last_synced_at":"2026-04-12T00:08:38.086Z","repository":{"id":190307775,"uuid":"682356009","full_name":"theduardomaciel/cryptosia-web","owner":"theduardomaciel","description":"A platform for generating public and private keys that work in sync, ensuring simplified security of sensitive messages through RSA encryption.","archived":false,"fork":false,"pushed_at":"2023-10-02T22:04:23.000Z","size":1112,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-27T16:23:50.327Z","etag":null,"topics":["c","cryptography","emscripten","nextjs","react","rsa","rsa-cryptography","tailwindcss","wasm","webassembly"],"latest_commit_sha":null,"homepage":"https://cryptosia.vercel.app","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/theduardomaciel.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":"2023-08-24T02:03:58.000Z","updated_at":"2024-08-18T19:15:11.000Z","dependencies_parsed_at":"2025-02-01T20:11:24.485Z","dependency_job_id":"c0d32f2d-ecf5-4d0b-b44e-068a88711a08","html_url":"https://github.com/theduardomaciel/cryptosia-web","commit_stats":null,"previous_names":["theduardomaciel/cryptosia","theduardomaciel/cryptosia-web"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/theduardomaciel/cryptosia-web","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theduardomaciel%2Fcryptosia-web","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theduardomaciel%2Fcryptosia-web/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theduardomaciel%2Fcryptosia-web/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theduardomaciel%2Fcryptosia-web/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/theduardomaciel","download_url":"https://codeload.github.com/theduardomaciel/cryptosia-web/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theduardomaciel%2Fcryptosia-web/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281383780,"owners_count":26491554,"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","status":"online","status_checked_at":"2025-10-28T02:00:06.022Z","response_time":60,"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":["c","cryptography","emscripten","nextjs","react","rsa","rsa-cryptography","tailwindcss","wasm","webassembly"],"created_at":"2024-12-06T12:16:01.487Z","updated_at":"2025-10-28T04:16:38.789Z","avatar_url":"https://github.com/theduardomaciel.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n    cryptosia\n\u003c/h1\u003e\n\n\u003cpicture\u003e\n  \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"/.github/cover.png\"\u003e\n  \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"/.github/cover_light.png\"\u003e\n  \u003cimg alt=\"Main projeto cover.\" src=\"/.github/cover_light.png\"\u003e\n\u003c/picture\u003e\n\n## 💻 Projeto\n\nUtilize o cryptosia para gerar chaves pública e privada em sintonia, garantindo segurança simplificada de mensagens simples por meio da Criptografia RSA.\n\n\u003e [!NOTE]\n\u003e O backend do projeto está disponível em: [https://github.com/theduardomaciel/cc-md/tree/master/projeto](https://github.com/theduardomaciel/cc-md/tree/master/projeto)\n\n\u003cbr /\u003e\n\n## ✨ Tecnologias\n\n\u003c!--\n#### Frontend:\n\n-   [ ] HTML\n-   [ ] CSS\n-   [ ] TypeScript\n-   [ ] Next.js\n-   [ ] TailwindCSS\n-   [ ] Radix \u0026 Radix Icons\n\n#### Backend\n\n-   [ ] Emscripten\n-   [ ] WebAssembly\n-   [ ] C\n--\u003e\n\n| Frontend            | Backend     |\n| ------------------- | ----------- |\n| HTML                | WebAssembly |\n| CSS                 | Emscripten  |\n| TypeScript          | C           |\n| Next.js             |             |\n| TailwindCSS         |             |\n| Radix \u0026 Radix Icons |             |\n\n\u003cbr /\u003e\n\n## 💽 Como compilar o backend em C\n\n\u003e [!IMPORTANT]  \n\u003e O passo a passo disponível a seguir refere-se à compilação em um dispositivo Windows. Para especificações em outros sistemas operacionais, visite a página oficial do [emscripten](https://emscripten.org/docs/getting_started/downloads.html).\n\n\u003cbr /\u003e\n\n-   Siga as instruções de instalação do **emscripten** em [emscripten.org/docs/getting_started/downloads.html](https://emscripten.org/docs/getting_started/downloads.html)\n-   Abra o terminal `Emscripten Windows Command Prompt (emcmdprompt.bat)` disponível no diretório `\\emscripten\\emsdk` e navegue até `\\upstream\\emscripten/`\n-   Com o terminal no diretório correto, compile o arquivo `cryptosia.c` com o seguinte comando:\n\n```\nemcc -O3 \"[diretório do arquivo C]\\cryptosia.c\" -o \"[diretório de saída]\\cryptosia.js\" -lm -lgmp --profiling-funcs -s MODULARIZE -s WASM=1 -s EXPORT_NAME=\"CRYPTOSIA\" -s ENVIRONMENT=\"web\" -s EXPORTED_FUNCTIONS=[nome das funções antecipados de \"_\", sem espaços e separados por \",\" como em \"_int_sqrt\"] EXPORTED_RUNTIME_METHODS=ccall,cwrap,UTF8ToString,stringToNewUTF8\n```\n\n\u003e Exemplo:\n\n```\nemcc -O3 -o cryptosia.js cryptosia.c ${HOME}/opt/lib/libgmp.a -I${HOME}/opt/include -s MODULARIZE -s WASM=1 -s EXPORT_NAME=\"CRYPTOSIA\" -s ENVIRONMENT=\"web\" -s EXPORTED_FUNCTIONS=_n_factor,_publicKey_totient,_publicKey_e,_privateKey_d,_mdc,_cryptosia_encrypt,_cryptosia_decrypt -s EXPORTED_RUNTIME_METHODS=ccall,cwrap,UTF8ToString,stringToNewUTF8 -lm\n```\n\n\u003e [!NOTE]  \n\u003e _O argumento `-O3` é utilizado para otimizar o código. Portanto, ao utilizá-lo, prepare-se para tempos de compilação maiores. \u003cbr /\u003e Para tempos mais rápidos, utilize níveis de otimização menor como -O1, O2 ou Oz!_\n\u003e Além da otimização de código, as funções exportadas em `EXPORTED_RUNTIME_METHODS` podem ser consultados [neste link](https://emscripten.org/docs/api_reference/preamble.js.html#conversion-functions-strings-pointers-and-arrays)\n\n-   Copie os arquivos `cryptosia.js` e `cryptosia.wasm` gerados para a pasta `public` do projeto\n\n\u003cbr /\u003e\n\n## 🚀 Como executar\n\n-   Clone o repositório\n-   Instale as dependências com `npm`, `yarn` ou `pnpm`\n-   Inicie o servidor com `npm run dev`, `yarn dev` ou `pnpm dev`\n\nAgora você pode acessar [`localhost:3000`](http://localhost:3000) do seu navegador.\n\n\u003cbr /\u003e\n\n## 👥 Grupo\n\n-   [ ] [Eduardo Maciel Alexandre](https://github.com/theduardomaciel) - Frontend e backend\n-   [ ] [David Enéas Ferreira](https://github.com/EneasDavid) - Backend\n-   [ ] Maria Emily Nayla Gomes da Silva - Fundamentação teórica matemática e apresentações\n-   [ ] Mariáh Lins Sena - Apresentações e redição de texto\n-   [ ] Pedro Gabriel Medeiros de Lima - Apresentações e redição de texto\n-   [ ] Victória Júllya Cabral da Silva - Apresentações e redição de texto\n\n\u003cbr /\u003e\n\n## 📝 Licença\n\nEste projeto utiliza a MIT License. Veja o arquivo de [LICENÇA](LICENSE) para mais detalhes.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheduardomaciel%2Fcryptosia-web","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftheduardomaciel%2Fcryptosia-web","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheduardomaciel%2Fcryptosia-web/lists"}