AlenVelocity / MeowScript

The Purrfect Programming Language
https://meow.alen.fyi
48 stars 6 forks source link

Standard Library: hash #3

Open AlenVelocity opened 1 year ago

AlenVelocity commented 1 year ago

Ref: https://github.com/Synthesized-Infinity/Ethereal/blob/main/src/std_library/hash.rs

akhilender-bongirwar commented 1 year ago

Hey @AlenVelocity, could you please describe this issue in detail.

AlenVelocity commented 1 year ago

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:

  1. SHA-Purr256: Implementation of the SHA-256 algorithm.
  2. SHA-Hiss512: The SHA-512 algorithm,.
  3. MD-Furr5: An implementation of the classic MD5 algorithm.

Implementation Paw-ticulars

Testing Your Code

AlenVelocity commented 1 year ago

Rust Crypto: https://github.com/RustCrypto