decryptBytes(encrypted: Uint8Array): Promise<Uint8Array>
Decrypt binary data encrypted with encryptBytes(). Expects ENCB binary format: magic + version + IV + ciphertext.
encrypted: Uint8Array
Promise<Uint8Array>
decryptBytes(encrypted: Uint8Array): Promise<Uint8Array>
Decrypt binary data encrypted with encryptBytes(). Expects ENCB binary format: magic + version + IV + ciphertext.
encrypted: Uint8Array
Promise<Uint8Array>
import { decryptBytes } from "docs/crypto.ts";