Hierarchy

  • Crypto

    Constructors

    Properties

    get: (() => Crypto) = ...

    Methods

    • Returns {
          ecdh: any;
          publicKey: Uint8Array;
      }

      • ecdh: any
      • publicKey: Uint8Array
    • Parameters

      • peerPublicKey: Uint8Array

      Returns {
          publicKey: Uint8Array;
          sharedSecret: Uint8Array;
      }

      • publicKey: Uint8Array
      • sharedSecret: Uint8Array
    • Parameters

      • secret: Uint8Array
      • salt: Uint8Array
      • info: Uint8Array
      • Optionallength: number

      Returns Promise<Uint8Array>

    • Parameters

      • secret: Uint8Array
      • salt: Uint8Array
      • iteration: number
      • keyLength: number

      Returns Promise<Uint8Array>

    • Returns {
          ecdh: any;
          publicKey: Uint8Array;
      }

      • ecdh: any
      • publicKey: Uint8Array
    • Parameters

      • peerPublicKey: Uint8Array

      Returns {
          publicKey: Uint8Array;
          sharedSecret: Uint8Array;
      }

      • publicKey: Uint8Array
      • sharedSecret: Uint8Array
    • Parameters

      • secret: Uint8Array
      • salt: Uint8Array
      • info: Uint8Array
      • Optionallength: number

      Returns Promise<Uint8Array>

    • Parameters

      • secret: Uint8Array
      • salt: Uint8Array
      • iteration: number
      • keyLength: number

      Returns Promise<Uint8Array>