You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be great to have a toggle that also prints the Proof.Y in the output JSON for a decoded token.
The Proof.Y can be calculated by computing hash_to_curve(secret) (see NUT-00). The hash_to_curve requires sha256 and secp256k1 (to check if the point is on the curve). An implementation in cashu-ts can be found here.
The text was updated successfully, but these errors were encountered:
It would be great to have a toggle that also prints the
Proof.Y
in the output JSON for a decoded token.The
Proof.Y
can be calculated by computinghash_to_curve(secret)
(see NUT-00). Thehash_to_curve
requiressha256
andsecp256k1
(to check if the point is on the curve). An implementation incashu-ts
can be found here.The text was updated successfully, but these errors were encountered: