@me2em/crypto
    Preparing search index...

    Function verifyRawFromBase64

    • Verifies a Base64-encoded Ed25519 signature.

      Convenience wrapper around fromBase64 + verifyRaw.

      Parameters

      • publicKey: Uint8Array

        32-byte Ed25519 public key.

      • message: Uint8Array

        The original message bytes.

      • sigB64: string

        Base64-encoded signature.

      Returns boolean

      true if valid, false otherwise (never throws).

      if (verifyRawFromBase64(pubKey, data, sigB64)) {
      // authentic
      }