{"repo":"wufhex/Mystic-xorstr","free":true,"listed":false,"github":"https://github.com/wufhex/Mystic-xorstr","clone":"git clone https://github.com/wufhex/Mystic-xorstr.git","description":"A C++17 header-only library that provides compile-time string and integer encryption using SIMD instructions, obfuscation via junk code injection and some \"tricks\" to break decompilers.","language":"C++","stars":31,"topics":["compile-time","cpp","string","string-encryption","string-protection","template","vectorized","xor","xorstr","junkcode"],"license":"MIT","category":"security-tools","readme_excerpt":"Mystic A C++17 header-only library that provides compile-time string and integer encryption using SIMD instructions, obfuscation via junk code injection and some \"tricks\" to break decompilers. v5 Release! Features Compile-Time Encryption: Encrypts strings and integers at compile-time. SIMD Decryption: Decrypts encrypted strings and integers at runtime using SIMD operations. Vectorized Operations: Utilizes AVX SSE and ARM NEON instructions to process data. Random Key Generation: Generates encryption keys and initialization vectors (IV) using constexpr computations based on a compile-time seed derived from compiler defined macro. Each pair of keys is unique to a string or integer. Disassembly Bloating: Add junk code to the executable, slightly impacts compile performance and executable size (depending on compiler) but makes the disassembly a mess. Minimal Environment Support: Mystic supports CRT-less or minimal C++ environments by defining MYSTIC MINIMAL . TODO: - [ ] Macro to enable or disable specific features such as junk code injection or extra features unrelated to xorstr. Example Check this source file to see a full example and docs! Support Tested on MSVC and GCC but should work correctly on most compilers. To enable AVX support you have to define AVX AVAILABLE . If your target CPU doesn't support AVX define SSE AVAILABLE or NEON AVAILABLE if you're targetting ARM. Results Runtime Result: :----------------------------------: :-----------------------------------: Windows ","default_branch":null,"files":null,"tree":[],"storefront":"/r/wufhex","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/wufhex/Mystic-xorstr/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}