-
Notifications
You must be signed in to change notification settings - Fork 26
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
Variable and function naming #25
Labels
core
Associated to the core spec
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The current draft uses the caret and tilde characters in variable naming, as they are in some of the source research. This causes issues with the markdown format of the specification in that it is burdensome and/or impossible to properly escape these characters.
I don't see any clear standards on variable or function naming in other IETF drafts. Variables may be upper-, lower-, camel-, or snake-cased. Functions can be camel-cased, snake-cased, or kebab-case (ie.
HKDF-Extract
).Some suggestions for discussion:
DST
) or are commonly capitalized (such as a fieldF
or the set of integersZ
). I think there is a tendency to use capitalized variables for elliptic curve points likeA
in the signaturehash_to_curve
s'
- precedent in hash-to-curve draft for example~
as a suffix use_b
short for blinding factor^
as a suffix use_c
short for commitmentThe text was updated successfully, but these errors were encountered: