Sha256: d08abfa6a7cfffda3e232395587d11ff8d7b4ab41ef704114ce6391f96947a8b
Contents?: true
Size: 845 Bytes
Versions: 1
Compression:
Stored size: 845 Bytes
Contents
import { IWavesCrypto, TBinaryOut, TSeed, ISeedRelated, ISeedEmbeded } from './interface'; declare type TOutputTypesMap = { Bytes: Uint8Array; Base58: string; }; declare type TDefaultOut = 'Base58'; declare type TOptions<T extends TBinaryOut = TDefaultOut, S extends TSeed | undefined = undefined> = { output?: T; seed?: S; }; declare type TWavesCrypto<T extends TBinaryOut = TDefaultOut, S extends TSeed | undefined = undefined> = IWavesCrypto<T> & (S extends undefined ? ISeedRelated<T> : ISeedEmbeded<T>); export declare const crypto: <TOut extends "Bytes" | "Base58" = "Base58", S extends string | Uint8Array | number[] | import("./interface").TRawStringInDiscriminator | import("./interface").INonceSeed | undefined = undefined>(options?: TOptions<TOut, S> | undefined) => TWavesCrypto<TOutputTypesMap[TOut], S>; export {};
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
waves_lib-0.1.0 | js/node_modules/@waves/ts-lib-crypto/crypto/crypto.d.ts |