jedisct1 / libsodium.js

libsodium compiled to Webassembly and pure JavaScript, with convenient wrappers.
Other
969 stars 138 forks source link

No crypto_sign_verify #258

Closed Bilb closed 3 years ago

Bilb commented 3 years ago

Hi, Sorry if this is a silly mistake, but I don't find the crypto_sign_verify type definition. We do have a crypto_sign_verify_detached, but I guess it needs to be used for a crypto_sign_detached call. Am I right in looking for this type definition?

Possibly related to https://github.com/jedisct1/libsodium.js/issues/80 and https://github.com/DefinitelyTyped/DefinitelyTyped/pull/27447

Thanks a lot

ffflorian commented 3 years ago

Hi @Bilb,

where do you see the function crypto_sign_verify?

jedisct1 commented 3 years ago

It's called crypto_sign_open().