cfrg / draft-irtf-cfrg-voprf

Oblivious Pseudorandom Functions (OPRFs) using Prime-Order Groups
https://cfrg.github.io/draft-irtf-cfrg-voprf/#go.draft-irtf-cfrg-voprf.html
Other
39 stars 15 forks source link

investigate DST for hash to scalar #389

Closed armfazh closed 1 year ago

armfazh commented 1 year ago

Jonas has pointed a possible issue in the specification of DST for hash to scalar.

https://mailarchive.ietf.org/arch/msg/cfrg/q3j7QMfb_06XlB0IyLr8OjOCuuw/

armfazh commented 1 year ago

the issue pointed is about the Python notation used in the draft. In Python, one can specify default parameters of a function. Thus, the function can be called with or without arguments, or passing explicitly the parameters by name.

e.g.

def foo(param=10):
    print(param)

foo()        // prints 10
foo(7)       // prints 7
foo(param=3) // prints 3