Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: crypto hash functions(md5, sha1, sha256 and hmac) #513

Closed
wants to merge 3 commits into from

Commits on Aug 22, 2024

  1. feat: crypto hash functions

    This commit adds the following changes
    
    - Move shared sources to js-native directory to reduce redundant files
        - See portable-scala/sbt-crossproject#145
    - Port hash functions in pure Scala for js and native platform with
      reference to https://github.com/square/okio (Apache V2
    License)
    i10416 committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    b52c5a8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5ce5f7d View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2024

  1. fix: some providers do not support MessageDigest alias

    Some providers do support MessageDigest alias such as "SHA256" instead
    of "SHA-256", but others do not.
    To Maximize portability, we should use MessageDigest names documented at
    https://docs.oracle.com/javase/6/docs/technotes/guides/security/StandardNames.html
    i10416 committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    042bb7c View commit details
    Browse the repository at this point in the history