Keeta LogoKeeta Logo@keetanetwork/keetanet-client
    Preparing search index...
    crypto: {
        createCipheriv: {
            (
                algorithm: CipherCCMTypes,
                key: CipherKey,
                iv: BinaryLike,
                options: CipherCCMOptions,
            ): CipherCCM;
            (
                algorithm: CipherOCBTypes,
                key: CipherKey,
                iv: BinaryLike,
                options: CipherOCBOptions,
            ): CipherOCB;
            (
                algorithm: CipherGCMTypes,
                key: CipherKey,
                iv: BinaryLike,
                options?: CipherGCMOptions,
            ): CipherGCM;
            (
                algorithm: string,
                key: CipherKey,
                iv: null | BinaryLike,
                options?: TransformOptions,
            ): Cipher;
        };
        createDecipheriv: {
            (
                algorithm: CipherCCMTypes,
                key: CipherKey,
                iv: BinaryLike,
                options: CipherCCMOptions,
            ): DecipherCCM;
            (
                algorithm: CipherOCBTypes,
                key: CipherKey,
                iv: BinaryLike,
                options: CipherOCBOptions,
            ): DecipherOCB;
            (
                algorithm: CipherGCMTypes,
                key: CipherKey,
                iv: BinaryLike,
                options?: CipherGCMOptions,
            ): DecipherGCM;
            (
                algorithm: string,
                key: CipherKey,
                iv: null | BinaryLike,
                options?: TransformOptions,
            ): Decipher;
        };
        randomBytes: {
            (size: number): Buffer;
            (size: number, callback: (err: null | Error, buf: Buffer) => void): void;
        };
        randomUUID: | (
            (
                options?: RandomUUIDOptions,
            ) => `${string}-${string}-${string}-${string}-${string}`
        )
        | (() => string);
    } = ...

    Type declaration

    • createCipheriv: {
          (
              algorithm: CipherCCMTypes,
              key: CipherKey,
              iv: BinaryLike,
              options: CipherCCMOptions,
          ): CipherCCM;
          (
              algorithm: CipherOCBTypes,
              key: CipherKey,
              iv: BinaryLike,
              options: CipherOCBOptions,
          ): CipherOCB;
          (
              algorithm: CipherGCMTypes,
              key: CipherKey,
              iv: BinaryLike,
              options?: CipherGCMOptions,
          ): CipherGCM;
          (
              algorithm: string,
              key: CipherKey,
              iv: null | BinaryLike,
              options?: TransformOptions,
          ): Cipher;
      }
    • createDecipheriv: {
          (
              algorithm: CipherCCMTypes,
              key: CipherKey,
              iv: BinaryLike,
              options: CipherCCMOptions,
          ): DecipherCCM;
          (
              algorithm: CipherOCBTypes,
              key: CipherKey,
              iv: BinaryLike,
              options: CipherOCBOptions,
          ): DecipherOCB;
          (
              algorithm: CipherGCMTypes,
              key: CipherKey,
              iv: BinaryLike,
              options?: CipherGCMOptions,
          ): DecipherGCM;
          (
              algorithm: string,
              key: CipherKey,
              iv: null | BinaryLike,
              options?: TransformOptions,
          ): Decipher;
      }
    • randomBytes: {
          (size: number): Buffer;
          (size: number, callback: (err: null | Error, buf: Buffer) => void): void;
      }
    • randomUUID:
          | (
              (
                  options?: RandomUUIDOptions,
              ) => `${string}-${string}-${string}-${string}-${string}`
          )
          | (() => string)