{"id":19478923,"url":"https://github.com/steezcram/arma-crypto-binary","last_synced_at":"2026-02-28T20:03:42.192Z","repository":{"id":144050009,"uuid":"283728554","full_name":"SteezCram/Arma-Crypto-Binary","owner":"SteezCram","description":"Binary support for Arma 3","archived":false,"fork":false,"pushed_at":"2021-06-29T10:43:28.000Z","size":27,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-25T16:44:40.806Z","etag":null,"topics":["arcfour","arma","arma3","bitwise-operation","byte","encryption","sqf"],"latest_commit_sha":null,"homepage":"","language":"SQF","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/SteezCram.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":"2020-07-30T09:30:41.000Z","updated_at":"2021-06-29T10:43:30.000Z","dependencies_parsed_at":"2024-07-21T20:36:31.370Z","dependency_job_id":null,"html_url":"https://github.com/SteezCram/Arma-Crypto-Binary","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/SteezCram/Arma-Crypto-Binary","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SteezCram%2FArma-Crypto-Binary","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SteezCram%2FArma-Crypto-Binary/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SteezCram%2FArma-Crypto-Binary/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SteezCram%2FArma-Crypto-Binary/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SteezCram","download_url":"https://codeload.github.com/SteezCram/Arma-Crypto-Binary/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SteezCram%2FArma-Crypto-Binary/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29951086,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T18:42:55.706Z","status":"ssl_error","status_checked_at":"2026-02-28T18:42:48.811Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["arcfour","arma","arma3","bitwise-operation","byte","encryption","sqf"],"created_at":"2024-11-10T19:52:05.509Z","updated_at":"2026-02-28T20:03:42.173Z","avatar_url":"https://github.com/SteezCram.png","language":"SQF","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Arma Crypto-Binary\n\nArma Crypto-Binary is repostory to interact with binary data in Arma 3.\nThis repository contains several methods to transform a number to it's binary representation. Each binary representation is an array of string, because it's easier to apply the bitwise operation on them.\n\nWith the byte converter, we can implement in Arma 3 base64 conversion, SHA algorithm, AES, Deflate compression algorithm, etc. The possibility are endless.\n\n\n## Binary Data\n\n#### Number =\u003e Binary / Binary =\u003e Number\nYou have several methods to deal with binary number. \nThe representation of the number in binary is like this:\n`8 =\u003e [1, 0, 0, 0]`\n\nYou have a method to convert it back, and another to truncate it, if the binary representation is on a specific bits width (that is the case when you do a bitwise operation).\n\n### Byte from string\nYou can now extract all the byte from a string. The method need the Unicode code point of the character. The current implementation is limited to a codepoint of 2048.\n\nYou can find the code point by using this method: [toArray](https://community.bistudio.com/wiki/toArray)\n### Bitwise / Shifting operation\nArma 3 doesn't support byte type, so it doesn't have any bitwise / shifting operation. So I recreate them.\n\nBitwise operation:\n- bitwise AND\n- bitwise OR\n- bitwise XOR\n\nShifting operation:\n- Left shift\n- Right shift\n\nThe shifting operation is on a number, the bitwise operation are on a binary array number. For all the bitwise you can set the width of the number. Don't forget that this method need to have all the number in the same width to operate.\n\n## Encryption\n### Arcfour:\nThis repository contains a valid implementation of [Arcfour (or RC4)](https://en.wikipedia.org/wiki/RC4). You can crypt and decrypt with this method.\nTo decrypt data you need to pass the encrypted data to the method, it will convert it back.\n\nThis encryption method is considered like unsecure, but it's a good example to test the performance of encryption in Arma 3. Also it can be a sufficient protection for all the people who don't know that.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteezcram%2Farma-crypto-binary","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsteezcram%2Farma-crypto-binary","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteezcram%2Farma-crypto-binary/lists"}