Skip to content

Microservice exposing API endpoints for doing Caesar encryption and decryption

License

Notifications You must be signed in to change notification settings

jesmg/rust-caesar-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Caesar encrypt/decrypt API

Microservice exposing API endpoints for doing Caesar encryption and decryption.

This is my first program written in Rust :)

How to run it

Set the Rust nightly build for this repo: rustup override set nightly. Launch with cargo run or compile with cargo build.

Endpoints

  • POST /caesar/decrypt expecting a body like:
    {
        "secret": "abyz",
        "shift": 25
    }
    
  • POST /caesar/encrypt expecting a body like:
    {
        "secret": "abyz",
        "shift": 25
    }
    
  • GET /liveness

About

Microservice exposing API endpoints for doing Caesar encryption and decryption

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages