-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
RFC 5054 specifies left padding during calculation of k and u as expressed below:
k = H(N, PAD(g))
u = H(PAD(A), PAD(B))
PAD(X) inserts left padding (zeros) into the binary big-endian representation of X to match it's number of bytes with the number of bytes in N.
Current code doesn't compute the paddings.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels