litcrypt.rs icon indicating copy to clipboard operation
litcrypt.rs copied to clipboard

a Rust compiler plugin to encrypt string literal at compile time.

Results 6 litcrypt.rs issues
Sort by recently updated
recently updated
newest added

I'm trying to use litcrypt to encrypt some strings and have been running into an issue using strings containing escape characters, specifically backslashes. I'm fairly new to rust, so maybe...

Thanks for your work. If I use https://github.com/pyrossh/rust-embed is there a way to encrypt the content of some files?

Hi, I would like to protect a string that is stored in an environment variable. I am trying to do this, but it doesn't work: ``` let pubkey = lc!(env!("EC_PUBKEY"));...

@anvie Now that #11 is merged, could you please create a new release of the crate? Thank you very much for your help!

```rust #[macro_use] extern crate litcrypt; use_litcrypt!("FqGaT9DRnfVVoz33j5AaweDT5NoJu7vt"); fn main() { println!("{}", lc!(include_str!("../Cargo.toml"))); } ``` Prints `unknown`. But I don't see why it shouldn't be possible since the content of the file...