Encoding, decoding, hashing, and cracking library created for the Catherine Framework.
First you need to include the crate in your Cargo.toml
file:
toml
mercy = "0.1.7"
The following methods are supported: - Base64 (Encode & Decode) - Rot13 (Decode) - Sha2-256 (Hash) - MD5 (Hash)
Next, you can call the library like this: ```rust extern crate mercy;
mercy::mercydecode("DecodeMethod", "Encoded Message"); // Decode mercy::mercyencode("EncodeMethod", "Plaintext Message"); // Encode mercy::mercy_hash("HashMethod", "Hashed Message"); // Hash
// Example mercy::mercy_decode("base64", "SGlmdW1pMTMzNw=="); ```
The library automatically prints to stdout. This will most likely be changed in a future update.