{"id":25842781,"url":"https://github.com/nir3x/fxms","last_synced_at":"2025-03-01T06:32:06.520Z","repository":{"id":216476915,"uuid":"741433729","full_name":"NIR3X/fxms","owner":"NIR3X","description":"FNV-XOR-Mask-Shuffle Symmetric Encryption Algorithm","archived":false,"fork":false,"pushed_at":"2024-02-16T04:03:24.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-02-16T05:22:50.650Z","etag":null,"topics":["algorithm","crypto","encryption","fnv","fxms","go","golang","mask","security","shuffle","symmetric","xor"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NIR3X.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}},"created_at":"2024-01-10T11:43:05.000Z","updated_at":"2024-02-16T05:22:51.336Z","dependencies_parsed_at":"2024-01-16T09:40:18.050Z","dependency_job_id":"1bae6887-5759-4090-a71b-129c2cd32ebf","html_url":"https://github.com/NIR3X/fxms","commit_stats":null,"previous_names":["nir3x/fxms"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NIR3X%2Ffxms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NIR3X%2Ffxms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NIR3X%2Ffxms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NIR3X%2Ffxms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NIR3X","download_url":"https://codeload.github.com/NIR3X/fxms/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241329448,"owners_count":19944982,"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":["algorithm","crypto","encryption","fnv","fxms","go","golang","mask","security","shuffle","symmetric","xor"],"created_at":"2025-03-01T06:32:05.909Z","updated_at":"2025-03-01T06:32:06.515Z","avatar_url":"https://github.com/NIR3X.png","language":"Go","readme":"# FNV-XOR-Mask-Shuffle Symmetric Encryption Algorithm\n\nThis is a Go package that implements the FNV-XOR-Mask-Shuffle symmetric encryption algorithm. This algorithm is a combination of several cryptographic techniques that make it difficult for an attacker to decrypt the data.\n\n## Installation\n\nTo use this package, you can install it using go get command:\n\n```bash\ngo get -u github.com/NIR3X/fxms\n```\n\n## Usage\n\nHere is an example of how to use this package:\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\t\"github.com/NIR3X/fxms\"\n)\n\nfunc main() {\n\t// Generate a random key\n\tkey := fxms.GenKey()\n\n\t// Data to encrypt\n\tdata := []uint8(\"Hello, World!\")\n\n\t// Encrypt the data\n\tencrypted, err := fxms.Encrypt(key, data, fxms.OptimizeDecryption)\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\t// Decrypt the data\n\tdecrypted, ok, err := fxms.Decrypt(key, encrypted, fxms.OptimizeDecryption)\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tif !ok {\n\t\tpanic(\"Decryption failed\")\n\t}\n\n\t// Print the decrypted data\n\tfmt.Printf(\"%s\\n\", decrypted)\n}\n```\n\n## License\n\n[![GNU AGPLv3 Image](https://www.gnu.org/graphics/agplv3-155x51.png)](https://www.gnu.org/licenses/agpl-3.0.html)\n\nThis program is Free Software: You can use, study share and improve it at your\nwill. Specifically you can redistribute and/or modify it under the terms of the\n[GNU Affero General Public License](https://www.gnu.org/licenses/agpl-3.0.html) as\npublished by the Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnir3x%2Ffxms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnir3x%2Ffxms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnir3x%2Ffxms/lists"}