Documentation
    Preparing search index...

    Type Alias CryptoAdapter

    type CryptoAdapter = {
        digest(algorithm: string, data: BufferSource): Promise<ArrayBuffer>;
        getRandomValues(array: Uint8Array): Uint8Array;
    }
    Index

    Methods

    • Parameters

      • algorithm: string
      • data: BufferSource

      Returns Promise<ArrayBuffer>