{"id":21393409,"url":"https://github.com/donghquinn/go-crypto-utils","last_synced_at":"2026-05-08T08:34:02.791Z","repository":{"id":264136914,"uuid":"891909063","full_name":"donghquinn/go-crypto-utils","owner":"donghquinn","description":"Secure Helper","archived":false,"fork":false,"pushed_at":"2024-12-23T08:59:46.000Z","size":2601,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-23T01:31:29.323Z","etag":null,"topics":["aes","base64","generator","hex","macos","program","randomstring","uuid","windows"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/donghquinn.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-11-21T07:09:12.000Z","updated_at":"2024-11-27T04:54:09.000Z","dependencies_parsed_at":"2025-01-23T01:29:58.873Z","dependency_job_id":"07102964-08a5-45f4-9447-3fef738c65af","html_url":"https://github.com/donghquinn/go-crypto-utils","commit_stats":null,"previous_names":["donghquinn/go-crypto-utils"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donghquinn%2Fgo-crypto-utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donghquinn%2Fgo-crypto-utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donghquinn%2Fgo-crypto-utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donghquinn%2Fgo-crypto-utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/donghquinn","download_url":"https://codeload.github.com/donghquinn/go-crypto-utils/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243878494,"owners_count":20362433,"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":["aes","base64","generator","hex","macos","program","randomstring","uuid","windows"],"created_at":"2024-11-22T14:11:38.736Z","updated_at":"2026-05-08T08:34:02.783Z","avatar_url":"https://github.com/donghquinn.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go Crypto Utils\n\nA cross-platform GUI application for cryptographic operations, key generation, and encoding/decoding utilities built with Go and Fyne.\n\n## Maintainer: donghquinn\n\n## Overview\n\nGo Crypto Utils is a desktop application that provides a user-friendly interface for common cryptographic operations. It eliminates the need for command-line tools or writing custom scripts for encryption, decryption, encoding, and key generation tasks.\n\n### Key Features\n\n- **Encryption/Decryption**: AES-256-CBC and AES-256-GCM algorithms\n- **Hashing**: SHA-256 and SHA-512 support\n- **Encoding/Decoding**: Base64 and Hexadecimal\n- **Key Generation**: Secure AES key generation (128, 192, 256-bit)\n- **UUID Generation**: RFC 4122 compliant UUIDs\n- **Random String Generation**: Customizable random string generation\n- **Cross-platform**: Supports macOS and Windows\n\n## Requirements\n\n- Go 1.23.3 or later\n- Fyne v2.5.2+ framework\n\n## Installation\n\n### Prerequisites\n\n1. Install Go from [golang.org](https://golang.org/download/)\n2. Install Fyne command-line tools:\n   ```bash\n   go install fyne.io/fyne/v2/cmd/fyne@latest\n   ```\n3. Add Go binary path to your environment:\n   ```bash\n   export PATH=$PATH:$(go env GOPATH)/bin\n   ```\n\n### Building from Source\n\n#### macOS\n```bash\n# Using build script\n./build-macos.sh\n\n# Or using Makefile\nmake macos\n```\n\n#### Windows (Cross-compilation from macOS)\n1. Install MinGW-w64:\n   ```bash\n   brew install mingw-w64\n   ```\n\n2. Set environment variables:\n   ```bash\n   export GOOS=windows\n   export GOARCH=amd64\n   export CGO_ENABLED=1\n   export CC=x86_64-w64-mingw32-gcc\n   ```\n\n3. Build:\n   ```bash\n   # Using build script\n   ./build-windows64.sh\n   \n   # Or using Makefile\n   make windows\n   ```\n\n#### Using Makefile (Build All)\n```bash\nmake all  # Builds both Windows and macOS versions\n```\n\n## Usage\n\nLaunch the application and use the tabbed interface to access different features:\n\n### Available Tabs\n\n1. **Encrypt** - Encrypt plaintext using AES algorithms\n   - AES-256-CBC\n   - AES-256-GCM\n\n2. **Decrypt** - Decrypt ciphertext using AES algorithms\n   - AES-256-CBC\n   - AES-256-GCM\n\n3. **Encode** - Encode data to different formats\n   - Base64 encoding\n   - Hexadecimal encoding\n\n4. **Decode** - Decode data from different formats\n   - Base64 decoding\n   - Hexadecimal decoding\n\n5. **Key Generation** - Generate secure AES keys\n   - AES-128 (16 bytes)\n   - AES-192 (24 bytes)\n   - AES-256 (32 bytes)\n   - Output in both hexadecimal and Base64 formats\n\n6. **UUID Generation** - Generate RFC 4122 compliant UUIDs\n\n7. **Random String** - Generate random strings with customizable parameters\n\n## Project Structure\n\n```\n├── main.go              # Application entry point\n├── go.mod               # Go module dependencies\n├── Makefile             # Build automation\n├── biz/                 # Business logic package\n│   ├── aes.go          # AES encryption/decryption\n│   ├── key.go          # Key generation utilities\n│   ├── pkcs.go         # PKCS padding functions\n│   ├── random.go       # Random string generation\n│   ├── sha.go          # SHA hashing functions\n│   └── uuid.go         # UUID generation\n├── gui/                 # GUI components\n│   ├── common.go       # Shared GUI utilities\n│   ├── encrypt.gui.go  # Encryption tab\n│   ├── decrypt.gui.go  # Decryption tab\n│   ├── encode.gui.go   # Encoding tab\n│   ├── decode.gui.go   # Decoding tab (includes base64 and hex)\n│   ├── key.gui.go      # Key generation tab\n│   ├── uuid.gui.go     # UUID generation tab\n│   └── random.gui.go   # Random string tab\n├── screenshots/         # Application screenshots\n└── icon.png            # Application icon\n```\n\n## Dependencies\n\n- **fyne.io/fyne/v2**: Cross-platform GUI framework\n- **github.com/google/uuid**: UUID generation library\n\n## Screenshots\n\n![Encryption](screenshots/encrypt.png)\n![Decryption](screenshots/decrypt.png)\n![Encoding](screenshots/encode.png)\n![Decoding](screenshots/decode.png)\n![Key Generation](screenshots/keygen.png)\n![UUID Generation](screenshots/uuid.png)\n![Random String](screenshots/randomstring.png)\n\n## License\n\nSee [LICENSE](LICENSE) file for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdonghquinn%2Fgo-crypto-utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdonghquinn%2Fgo-crypto-utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdonghquinn%2Fgo-crypto-utils/lists"}