#automatic #control-flow #obfuscation #string #proc-macro #literals #compile-time

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

#34 in #obfuscation

Download history 12/week @ 2024-07-26 14/week @ 2024-08-02 26/week @ 2024-08-09 7/week @ 2024-08-16 23/week @ 2024-08-23 53/week @ 2024-08-30 54/week @ 2024-09-06 39/week @ 2024-09-13 68/week @ 2024-09-20 25/week @ 2024-09-27 23/week @ 2024-10-04 40/week @ 2024-10-11 168/week @ 2024-10-18 170/week @ 2024-10-25 223/week @ 2024-11-01 124/week @ 2024-11-08

694 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.5–1MB
~22K SLoC