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: add from_var_bytes to Scalar #131

Closed
wants to merge 6 commits into from
Closed

Commits on Nov 21, 2023

  1. feat: add from_var_bytes to Scalar

    This commit introduces `from_var_bytes` for `Scalar`, a function that
    will take arbitrary slices, hash with BLAKE2b into 256-bit numbers, and
    perform a modulus multiplication to produce valid scalars.
    
    Such functionality is required for downstream protocols such as Phoenix
    or Rusk contract ID computation. They produce arbitrary bytes, being
    either asymmetric key exchange protocols or network transaction payload,
    annd perform off-circuit field operations with such inputs.
    artifex11 committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    8f5716d View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2023

  1. update changelog

    artifex11 committed Nov 22, 2023
    Configuration menu
    Copy the full SHA
    64a428e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7525f65 View commit details
    Browse the repository at this point in the history
  3. propose a fix to uni_random

    artifex11 committed Nov 22, 2023
    Configuration menu
    Copy the full SHA
    96286f8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d3fe83f View commit details
    Browse the repository at this point in the history
  5. minimal scope PR

    artifex11 committed Nov 22, 2023
    Configuration menu
    Copy the full SHA
    b0ea19d View commit details
    Browse the repository at this point in the history