UNPKG

@airgap/crypto

Version:

The @airgap/crypto packages provides common crypto functionalities.

7 lines (6 loc) 562 B
import { CryptoDerivative } from '@airgap/module-kit'; import { DerivationKey, DerivationNode } from '../types/derivation'; export declare function newDerivationNodeFromDerivative(derivative: CryptoDerivative): DerivationNode; export declare function newDerivationNodeFromKeys(secretKey: DerivationKey, publicKey: DerivationKey): DerivationNode; export declare function newCryptoDerivativeFromKeys(secretKey: DerivationKey, publicKey: DerivationKey): CryptoDerivative; export declare function newCryptoDerivativeFromNode(node: DerivationNode): CryptoDerivative;