Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
recipients = recipients.map(function (keys) {
return sodium.crypto_sign_ed25519_pk_to_curve25519(u.toBuffer(keys.public || keys))
})