{"id":24782225,"url":"https://github.com/thinkphp/react-vernam-cipher","last_synced_at":"2026-05-03T16:32:55.990Z","repository":{"id":274428225,"uuid":"922866348","full_name":"thinkphp/react-vernam-cipher","owner":"thinkphp","description":"React Vernam Cipher","archived":false,"fork":false,"pushed_at":"2025-01-27T08:24:29.000Z","size":175,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T05:32:37.395Z","etag":null,"topics":["algorithms","decryption","encryption","react","vernam-cipher","xor-cipher"],"latest_commit_sha":null,"homepage":"https://react-vernam-cipher.vercel.app/","language":"JavaScript","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/thinkphp.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":"2025-01-27T08:20:43.000Z","updated_at":"2025-01-27T08:27:17.000Z","dependencies_parsed_at":"2025-01-27T09:36:55.030Z","dependency_job_id":null,"html_url":"https://github.com/thinkphp/react-vernam-cipher","commit_stats":null,"previous_names":["thinkphp/react-vernam-cipher"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/thinkphp/react-vernam-cipher","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinkphp%2Freact-vernam-cipher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinkphp%2Freact-vernam-cipher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinkphp%2Freact-vernam-cipher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinkphp%2Freact-vernam-cipher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thinkphp","download_url":"https://codeload.github.com/thinkphp/react-vernam-cipher/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinkphp%2Freact-vernam-cipher/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32577122,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["algorithms","decryption","encryption","react","vernam-cipher","xor-cipher"],"created_at":"2025-01-29T11:16:34.189Z","updated_at":"2026-05-03T16:32:55.973Z","avatar_url":"https://github.com/thinkphp.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vernam Cipher React Component\n\nThis is a React-based implementation of the Vernam Cipher, a symmetric key cipher used for encryption and decryption of text. The component allows users to input text, generate a key, encrypt the text using the Vernam Cipher, and decrypt it back using the same key.\n\n## Features\n- Input text to encrypt\n- Generate a random key for encryption\n- Encrypt text using the Vernam Cipher\n- Decrypt encrypted text using the same key\n- Displays the generated key in hexadecimal format\n- Responsive UI for better user interaction\n\n## Requirements\n\n- React (v17 or higher)\n- Basic understanding of the Vernam Cipher\n\n## Installation\n\n1. Clone this repository:\n   ```bash\n   git clone https://github.com/yourusername/vernam-cipher-react.git\n   ```\n\n2. Navigate into the project directory:\n   ```bash\n   cd vernam-cipher-react\n   ```\n\n3. Install the dependencies:\n   ```bash\n   npm install\n   ```\n\n4. Start the development server:\n   ```bash\n   npm start\n   ```\n\n   Visit `http://localhost:3000` in your browser to see the component in action.\n\n## Usage\n\n1. **Enter Text**: Type the text you want to encrypt into the \"Enter Text\" field.\n2. **Generate Key**: Click the \"Generate Key\" button to generate a random key for encryption. The key is displayed in hexadecimal format.\n3. **Encrypt**: Click the \"Encrypt\" button to encrypt the entered text using the generated key. The encrypted output will be displayed in hexadecimal.\n4. **Decrypt**: If you have encrypted text, click the \"Decrypt\" button to decrypt the text back to its original form.\n\n## Example Workflow\n\n1. Enter a text, e.g., \"Hello World\".\n2. Click \"Generate Key\" to generate a random key.\n3. Click \"Encrypt\" to encrypt the text.\n4. Click \"Decrypt\" to decrypt the text back to \"Hello World\".\n\n## Styling\n\nThe component uses a simple, clean layout that you can customize in the accompanying `VernamCipher.css` file.\n\n## Component Structure\n\n- `inputText`: Holds the user input text to be encrypted.\n- `key`: Holds the random key used for encryption and decryption.\n- `keyDisplay`: Displays the key in hexadecimal format.\n- `outputText`: Displays the output text (either encrypted or decrypted).\n- `encryptedText`: Stores the encrypted text for decryption.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Author\n\n- **Adrian Statescu**\n\nFeel free to open issues or submit pull requests for any improvements or suggestions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthinkphp%2Freact-vernam-cipher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthinkphp%2Freact-vernam-cipher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthinkphp%2Freact-vernam-cipher/lists"}