#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 20/week @ 2024-08-14 10/week @ 2024-08-21 49/week @ 2024-08-28 56/week @ 2024-09-04 46/week @ 2024-09-11 49/week @ 2024-09-18 47/week @ 2024-09-25 21/week @ 2024-10-02 36/week @ 2024-10-09 131/week @ 2024-10-16 211/week @ 2024-10-23 56/week @ 2024-10-30 272/week @ 2024-11-06 76/week @ 2024-11-13 100/week @ 2024-11-20 33/week @ 2024-11-27

499 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