feat: add obfstr
This commit is contained in:
16
__misc/obfstr/Cargo.lock
generated
Normal file
16
__misc/obfstr/Cargo.lock
generated
Normal file
@@ -0,0 +1,16 @@
|
||||
# This file is automatically @generated by Cargo.
|
||||
# It is not intended for manual editing.
|
||||
version = 3
|
||||
|
||||
[[package]]
|
||||
name = "obfstr"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"obfstr 0.3.0",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "obfstr"
|
||||
version = "0.3.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "7b2b2cbbfd8defa51ff24450a61d73b3ff3e158484ddd274a883e886e6fbaa78"
|
||||
10
__misc/obfstr/Cargo.toml
Normal file
10
__misc/obfstr/Cargo.toml
Normal file
@@ -0,0 +1,10 @@
|
||||
[package]
|
||||
name = "obfstr"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
obfstr = "0.3.0"
|
||||
|
||||
9
__misc/obfstr/src/main.rs
Normal file
9
__misc/obfstr/src/main.rs
Normal file
@@ -0,0 +1,9 @@
|
||||
use obfstr::obfstr;
|
||||
|
||||
fn main() {
|
||||
obfstr!(
|
||||
let secret = "Secret!!";
|
||||
);
|
||||
|
||||
println!("{}", secret);
|
||||
}
|
||||
Reference in New Issue
Block a user