xorstring 0.1.0

Compile-time string XOR encryption.
Documentation
  • Coverage
  • 100%
    5 out of 5 items documented0 out of 3 items with examples
  • Size
  • Source code size: 6.97 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.38 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • Proximyst

xorstring

xorstring is the implementation of Malware related compile-time hacks with C++11 by LeFF but for Rust Nightly (2018 edition).

This XOR encrypts byte-string literals at compile-time with a XOR-cypher, then decrypts them at runtime. This circumvents simple .rodata, .data, and .text string checks by anti-cheats such as Valve Anti-Cheat, in that it can store plain-text internal data without the anti-cheat noticing it.

Why nightly?

Because of proc_macro_hygiene.

Where is the under-the-hood implementation?

Here: https://github.com/Proximyst/xorstring-procmacro

Licence

The project is licensed under the BSD 3-Clause Licence.