Method Crypto.ECC.Curve25519.EdDSA()->jwa()


Method jwa

string(7bit) jwa(.Hash|void hash)

Description

Get the JWS algorithm identifier for a hash.

Parameter hash

Hash algorithm; ignored for Ed25519.

Returns

Returns 0 (zero) on failure.

See also

RFC 7518 section 3.1