Crypto Edge
    Preparing search index...

    Function isEdgeCryptoAvailable

    • Returns true when the runtime supports the Web Crypto crypto.subtle API, which is required for most edge crypto operations.

      Returns boolean

      import { isEdgeCryptoAvailable } from "@aspect/crypto-edge";

      if (isEdgeCryptoAvailable()) {
      // Safe to use encrypt(), decrypt(), sign(), etc.
      }