createAesCtr
createAesCtr: (key: Uint8Array, iv: Uint8Array, encrypt: boolean) => IAesCtr createAesIge
factorizePQ
factorizePQ: (pq: Uint8Array) => MaybePromise<[Uint8Array, Uint8Array]> gunzip
gunzip: (data: Uint8Array) => Uint8Array
gzip
gzip: (data: Uint8Array, maxSize: number) => null | Uint8Array
hmacSha256
hmacSha256: (data: Uint8Array, key: Uint8Array) => MaybePromise<Uint8Array> Optional
initialize
pbkdf2
pbkdf2: ( password: Uint8Array, salt: Uint8Array, iterations: number, keylen?: number, algo?: string,) => MaybePromise<Uint8Array> randomBytes
randomBytes: (size: number) => Uint8Array
randomFill
randomFill: (buf: Uint8Array) => void
sha1
sha1: (data: Uint8Array) => Uint8Array
sha256
sha256: (data: Uint8Array) => Uint8Array