#obfuscation #string #proc-macro #meant #compile-time #encryption #automatic

macro labyrinth_macros

A procedural macro crate for the cryptify crate meant to provide obfuscation through compile time string encryption. not meant to be used standalone

3 stable releases

3.0.0 Jan 10, 2024
2.0.0 Jan 9, 2024
1.0.0 Jan 9, 2024

#2107 in Procedural macros

Download history 72/week @ 2024-01-07 1/week @ 2024-01-14 4/week @ 2024-02-18 32/week @ 2024-02-25 84/week @ 2024-03-03 14/week @ 2024-03-10 21/week @ 2024-03-17 10/week @ 2024-03-24 88/week @ 2024-03-31 8/week @ 2024-04-07 16/week @ 2024-04-14

124 downloads per month
Used in cryptify

MIT license

7KB
96 lines

labyrinth_macros

labyrinth_macros is a procedural macro crate designed to complement the cryptify super crate. It provides compile-time string and control flow obfuscation capabilities, aimed at enhancing the security and complexity of Rust code. Not meant to be used standalone, necessary obfuscation features are in the super crate cryptify

Features

  • String Obfuscation: Automatically encrypts string literals in your code at compile time, making them harder to read and understand.
  • Flow Obfuscation: Introduces dummy loops and random variables into control flows, enhancing the overall obfuscation of the logic.

License

labyrinth_macros is licensed under the MIT License - see the LICENSE file for details.


lib.rs:

labyrinth_macros crate provides procedural macros for compile-time obfuscation. NOT MEANT TO BE USED STANDALONE.

This crate includes macros like encrypt_string and flow_stmt which are used to enhance the security of Rust code by obfuscating strings and control flows.

Dependencies

~0.6–1.1MB
~24K SLoC