@launchdarkly/react-native-client-sdk - v10.23.2
    Preparing search index...

    Interface Crypto

    Interface provided by the platform for doing cryptographic operations.

    interface Crypto {
        createHash(algorithm: string): Hasher;
        createHmac?(algorithm: string, key: string): Hmac;
        randomUUID(): string;
    }
    Index
    • Parameters

      • algorithm: string

      Returns Hasher

    • Note: Server SDKs MUST implement createHmac.

      Parameters

      • algorithm: string
      • key: string

      Returns Hmac

    • Returns string