obfuscator_derive 0.3.0

Derive macro for struct-level encryption used in rustfuscator
Documentation

obfuscator_derive

crates.io Contributing Whitepaper Obfuscation Guide

Procedural macro definitions for the Rustfuscator — a Rust obfuscation framework for control flow, syntax, and literal protection.


🧠 What is obfuscator_derive?

This crate provides the procedural macros used by Rustfuscator.
It defines attribute macros like #[obfuscate] that mark functions or modules for transformation during compilation.

⚠️ This crate is not meant to be used directly. Use rust_code_obfuscator) unless you're developing internals or writing custom tooling.

Usage notes

  • #[derive(Obfuscate)] supports fields of type String and u32.
  • Invalid field types produce a compile-time error pointing to the offending field.
  • The derive internally uses rust_code_obfuscator::crypto::default_key(); no user key plumbing required.