#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

#30 in #obfuscation

Download history 3/week @ 2024-07-06 2/week @ 2024-07-13 13/week @ 2024-07-20 11/week @ 2024-07-27 14/week @ 2024-08-03 27/week @ 2024-08-10 5/week @ 2024-08-17 32/week @ 2024-08-24 47/week @ 2024-08-31 53/week @ 2024-09-07 48/week @ 2024-09-14 68/week @ 2024-09-21 17/week @ 2024-09-28 21/week @ 2024-10-05 47/week @ 2024-10-12 176/week @ 2024-10-19

272 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