ROT-26-rs

ROT-26 algorithm implemented in Rust with a C interface

Instead of only rotating 13 places, ROT26 rotates twice as many characters in the alphabet and is therefore twice as secure.

Examples

Rust

```rust fn main() { let supersecretdata = getpassword(); let supersecretdataencrypted = rot26rs::cipher(supersecret_data);

let super_secret_data = rot26::decipher(super_secret_data_encrypted);

} ```

C

```c ...

include

int main ( void ) { const char *supersecretdata = getpassword(); const char *supersecretdataencrypted = rot26cipher(supersecret_data);

const char *super_secret_data_deciphered = rot26_decipher(super_secret_data_encrypted);
return 0;

} ```

C

```c++ ...

include

int main ( void ) { const char *supersecretdata = getpassword(); const char *supersecretdataencrypted = rot26cipher(supersecret_data);

const char *super_secret_data_deciphered = rot26_decipher(super_secret_data_encrypted);
return 0;

} ```