We will be sunsetting Advisor during Jan, 2026 and will instead be providing information in Snyk Security DB.
You can begin to take advantage of Snyk Security DB today for a unified, package-centric experience.
Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const decrypt = (privKey, encrypted) => ethSigUtil.decryptSafely(encrypted, nacl.util.decodeBase64(privKey));
A few useful functions for signing ethereum data