UNPKG

@polkadot/util-crypto

Version:
3 lines (2 loc) 170 B
import type { EncryptedJson } from './types.js'; export declare function jsonEncrypt(data: Uint8Array, contentType: string[], passphrase?: string | null): EncryptedJson;