Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/earthstar/src/syncer/message_crypto.ts>DecryptStream

Storage for private, distributed, offline-first applications.
Go to Latest
class DecryptStream
import { DecryptStream } from "https://deno.land/x/earthstar@v10.2.0/src/syncer/message_crypto.ts";

Decrypts discrete encrypted chunks prefixed with a 12 byte initialisation value.

Constructors

new
DecryptStream(derivedKey: CryptoKey)

Properties

private
transform: TransformStream<Uint8Array, Uint8Array>
readable: ReadableStream<Uint8Array>
writable: WritableStream<Uint8Array>