Skip to the content.

RCO: Hash Params

hash_params

How it works

Hash params performs Rust’s default hash algorithm (SipHash-1-3 at the time of this writing) on command line arguments and prints their output in hex. This should not be considered cryptographically secure, but works for obfuscating a value in a repeatable way.

Using it

  1. [Not shown in demo] Compile the executable
    1. For Linux
      cargo build -p hash_params --release
      
    2. For Windows
      cargo build --target x86_64-pc-windows-gnu -p hash_params --release
      
  2. Run the executable with the desired hash targets