UNPKG

@airgap/crypto

Version:

The @airgap/crypto packages provides common crypto functionalities.

10 lines (9 loc) 329 B
/// <reference types="node" /> import { DerivationNode } from '../types/derivation'; export interface BytesNode { type: 'bytes'; secretKey: Buffer; publicKey: Buffer; } export declare function bytesEncodeNode(node: DerivationNode): BytesNode; export declare function bytesDecodeNode(node: BytesNode): DerivationNode;