Standard Library: hash
Ref: https://github.com/Synthesized-Infinity/Ethereal/blob/main/src/std_library/hash.rs
Hey @AlenVelocity, could you please describe this issue in detail.
Hi There. Thank you for your pawsome interest in contributing to Meowscript! Here's what we're hissing... um, we mean, hoping for:
Existing Hashing Module Reference
You can take a sneak peek at the original implementation of a hashing module done by @sheIItear for Ethereal. This implementation might help you get a pawhold on the task at hand. Here’s where you can find it:
Ethereal Hashing Module Implementation
Hashing Module Specification
We need a simple yet purr-fect hashing module that implements the following basic hashing methods:
We're looking to implement some of the tried-and-true hashing algorithms in a way that stays true to Meowscript's quirky, cat-centric style, something like:
- SHA-Purr256: Implementation of the SHA-256 algorithm.
- SHA-Hiss512: The SHA-512 algorithm,.
- MD-Furr5: An implementation of the classic MD5 algorithm.
Implementation Paw-ticulars
- Ensure your hashing module is written in a way that's consistent with Meowscript's unique syntax and cat-tastic style. Don't fur-get to replace common terms with our feline-inspired keywords!
- Your module should be able to easily integrate with the existing Meowscript interpurrter and standard library.
- Feel free to add any additional cat-themed hashing methods if you come up with something clever and useful!
Testing Your Code
- Remember, it's impurrtant to catch any bugs now before they become cat-astrophes later!
Rust Crypto: https://github.com/RustCrypto