@waves/ts-lib-crypto
Advanced tools
Comparing version 1.4.1 to 1.4.2
@@ -7,5 +7,5 @@ export { seedWordsList } from './crypto/seed-words-list'; | ||
export * from './crypto/interface'; | ||
export declare const signBytes: (seedOrPrivateKey: string | Uint8Array | number[] | import("./crypto/interface").TRawStringInDiscriminator | import("./crypto/interface").INonceSeed | import("./crypto/interface").TPrivateKey<import("./crypto/interface").TBinaryIn>, bytes: import("./crypto/interface").TBinaryIn, random?: string | Uint8Array | number[] | undefined) => Uint8Array, keyPair: (seed: import("./crypto/interface").TSeed) => import("./crypto/interface").TKeyPair<Uint8Array>, publicKey: (seedOrPrivateKey: string | Uint8Array | number[] | import("./crypto/interface").TRawStringInDiscriminator | import("./crypto/interface").INonceSeed | import("./crypto/interface").TPrivateKey<import("./crypto/interface").TBinaryIn>) => Uint8Array, privateKey: (seed: import("./crypto/interface").TSeed) => Uint8Array, address: (seedOrPublicKey: string | Uint8Array | number[] | import("./crypto/interface").TRawStringInDiscriminator | import("./crypto/interface").INonceSeed | import("./crypto/interface").TPublicKey<import("./crypto/interface").TBinaryIn>, chainId?: string | number | undefined) => Uint8Array, blake2b: (input: import("./crypto/interface").TBinaryIn) => Uint8Array, keccak: (input: import("./crypto/interface").TBinaryIn) => Uint8Array, sha256: (input: import("./crypto/interface").TBinaryIn) => Uint8Array, sharedKey: (privateKeyFrom: import("./crypto/interface").TBinaryIn, publicKeyTo: import("./crypto/interface").TBinaryIn, prefix: import("./crypto/interface").TRawStringIn) => Uint8Array, seedWithNonce: (seed: import("./crypto/interface").TSeed, nonce: number) => import("./crypto/interface").INonceSeed, base64Encode: (input: import("./crypto/interface").TBinaryIn) => string, base64Decode: (input: string) => Uint8Array, base58Encode: (input: import("./crypto/interface").TBinaryIn) => string, base58Decode: (input: string) => Uint8Array, base16Encode: (input: import("./crypto/interface").TBinaryIn) => string, base16Decode: (input: string) => Uint8Array, stringToBytes: (input: string, encoding?: "utf8" | "raw" | undefined) => Uint8Array, bytesToString: (input: import("./crypto/interface").TBinaryIn, encoding?: "utf8" | "raw" | undefined) => string, random: <T extends "Array8" | "Array16" | "Array32" | "Buffer" | "Uint8Array" | "Uint16Array" | "Uint32Array">(count: number, type: T) => import("./crypto/interface").TRandomTypesMap[T], randomSeed: (wordsCount?: number | undefined) => string, randomBytes: (size: number) => Uint8Array, verifySignature: (publicKey: import("./crypto/interface").TBinaryIn, bytes: import("./crypto/interface").TBinaryIn, signature: import("./crypto/interface").TBinaryIn) => boolean, verifyPublicKey: (publicKey: import("./crypto/interface").TBinaryIn) => boolean, verifyAddress: (address: import("./crypto/interface").TBinaryIn, optional?: { | ||
export declare const signBytes: (seedOrPrivateKey: string | Uint8Array | number[] | import("./crypto/interface").TRawStringInDiscriminator | import("./crypto/interface").INonceSeed | import("./crypto/interface").TPrivateKey<import("./crypto/interface").TBinaryIn>, bytes: import("./crypto/interface").TBinaryIn, random?: string | Uint8Array | number[] | undefined) => Uint8Array, keyPair: (seed: import("./crypto/interface").TSeed) => import("./crypto/interface").TKeyPair<Uint8Array>, buildAddress: (publicKeyBytes: Uint8Array, chainId: string | number) => Uint8Array, publicKey: (seedOrPrivateKey: string | Uint8Array | number[] | import("./crypto/interface").TRawStringInDiscriminator | import("./crypto/interface").INonceSeed | import("./crypto/interface").TPrivateKey<import("./crypto/interface").TBinaryIn>) => Uint8Array, privateKey: (seed: import("./crypto/interface").TSeed) => Uint8Array, address: (seedOrPublicKey: string | Uint8Array | number[] | import("./crypto/interface").TRawStringInDiscriminator | import("./crypto/interface").INonceSeed | import("./crypto/interface").TPublicKey<import("./crypto/interface").TBinaryIn>, chainId?: string | number | undefined) => Uint8Array, blake2b: (input: import("./crypto/interface").TBinaryIn) => Uint8Array, keccak: (input: import("./crypto/interface").TBinaryIn) => Uint8Array, sha256: (input: import("./crypto/interface").TBinaryIn) => Uint8Array, sharedKey: (privateKeyFrom: import("./crypto/interface").TBinaryIn, publicKeyTo: import("./crypto/interface").TBinaryIn, prefix: import("./crypto/interface").TRawStringIn) => Uint8Array, seedWithNonce: (seed: import("./crypto/interface").TSeed, nonce: number) => import("./crypto/interface").INonceSeed, base64Encode: (input: import("./crypto/interface").TBinaryIn) => string, base64Decode: (input: string) => Uint8Array, base58Encode: (input: import("./crypto/interface").TBinaryIn) => string, base58Decode: (input: string) => Uint8Array, base16Encode: (input: import("./crypto/interface").TBinaryIn) => string, base16Decode: (input: string) => Uint8Array, stringToBytes: (input: string, encoding?: "utf8" | "raw" | undefined) => Uint8Array, bytesToString: (input: import("./crypto/interface").TBinaryIn, encoding?: "utf8" | "raw" | undefined) => string, random: <T extends "Array8" | "Array16" | "Array32" | "Buffer" | "Uint8Array" | "Uint16Array" | "Uint32Array">(count: number, type: T) => import("./crypto/interface").TRandomTypesMap[T], randomSeed: (wordsCount?: number | undefined) => string, randomBytes: (size: number) => Uint8Array, verifySignature: (publicKey: import("./crypto/interface").TBinaryIn, bytes: import("./crypto/interface").TBinaryIn, signature: import("./crypto/interface").TBinaryIn) => boolean, verifyPublicKey: (publicKey: import("./crypto/interface").TBinaryIn) => boolean, verifyAddress: (address: import("./crypto/interface").TBinaryIn, optional?: { | ||
chainId?: string | number | undefined; | ||
publicKey?: string | Uint8Array | number[] | undefined; | ||
} | undefined) => boolean, messageDecrypt: (sharedKey: import("./crypto/interface").TBinaryIn, encryptedMessage: import("./crypto/interface").TBinaryIn) => string, messageEncrypt: (sharedKey: import("./crypto/interface").TBinaryIn, message: string) => Uint8Array, aesDecrypt: (encryptedData: import("./crypto/interface").TBinaryIn, encryptionKey: import("./crypto/interface").TBinaryIn, mode?: "CBC" | "CFB" | "CTR" | "OFB" | "ECB" | "GCM" | undefined, iv?: string | Uint8Array | number[] | undefined) => Uint8Array, aesEncrypt: (data: import("./crypto/interface").TBinaryIn, encryptionKey: import("./crypto/interface").TBinaryIn, mode?: "CBC" | "CFB" | "CTR" | "OFB" | "ECB" | "GCM" | undefined, iv?: string | Uint8Array | number[] | undefined) => Uint8Array, encryptSeed: (seed: string, password: string, encryptionRounds?: number | undefined) => string, decryptSeed: (encryptedSeed: string, password: string, encryptionRounds?: number | undefined) => string, rsaKeyPair: (bits?: number | undefined, e?: number | undefined) => Promise<import("./crypto/interface").TRSAKeyPair>, rsaKeyPairSync: (bits?: number | undefined, e?: number | undefined) => import("./crypto/interface").TRSAKeyPair, rsaSign: (rsaPrivateKey: Uint8Array, message: Uint8Array, digest?: "MD5" | "SHA1" | "SHA224" | "SHA256" | "SHA384" | "SHA512" | "SHA3-224" | "SHA3-256" | "SHA3-384" | "SHA3-512" | undefined) => Uint8Array, rsaVerify: (rsaPublicKey: Uint8Array, message: Uint8Array, signature: Uint8Array, digest?: "MD5" | "SHA1" | "SHA224" | "SHA256" | "SHA384" | "SHA512" | "SHA3-224" | "SHA3-256" | "SHA3-384" | "SHA3-512" | undefined) => boolean, merkleVerify: (rootHash: Uint8Array, merkleProof: Uint8Array, leafData: Uint8Array) => boolean, split: (binary: import("./crypto/interface").TBinaryIn, ...sizes: number[]) => Uint8Array[], concat: (...binaries: import("./crypto/interface").TBinaryIn[]) => Uint8Array; |
@@ -20,3 +20,3 @@ "use strict"; | ||
__export(require("./crypto/interface")); | ||
exports.signBytes = (_a = crypto_1.crypto({ output: 'Bytes' }), _a.signBytes), exports.keyPair = _a.keyPair, exports.publicKey = _a.publicKey, exports.privateKey = _a.privateKey, exports.address = _a.address, exports.blake2b = _a.blake2b, exports.keccak = _a.keccak, exports.sha256 = _a.sha256, exports.sharedKey = _a.sharedKey, exports.seedWithNonce = _a.seedWithNonce, exports.base64Encode = _a.base64Encode, exports.base64Decode = _a.base64Decode, exports.base58Encode = _a.base58Encode, exports.base58Decode = _a.base58Decode, exports.base16Encode = _a.base16Encode, exports.base16Decode = _a.base16Decode, exports.stringToBytes = _a.stringToBytes, exports.bytesToString = _a.bytesToString, exports.random = _a.random, exports.randomSeed = _a.randomSeed, exports.randomBytes = _a.randomBytes, exports.verifySignature = _a.verifySignature, exports.verifyPublicKey = _a.verifyPublicKey, exports.verifyAddress = _a.verifyAddress, exports.messageDecrypt = _a.messageDecrypt, exports.messageEncrypt = _a.messageEncrypt, exports.aesDecrypt = _a.aesDecrypt, exports.aesEncrypt = _a.aesEncrypt, exports.encryptSeed = _a.encryptSeed, exports.decryptSeed = _a.decryptSeed, exports.rsaKeyPair = _a.rsaKeyPair, exports.rsaKeyPairSync = _a.rsaKeyPairSync, exports.rsaSign = _a.rsaSign, exports.rsaVerify = _a.rsaVerify, exports.merkleVerify = _a.merkleVerify, exports.split = _a.split, exports.concat = _a.concat; | ||
exports.signBytes = (_a = crypto_1.crypto({ output: 'Bytes' }), _a.signBytes), exports.keyPair = _a.keyPair, exports.buildAddress = _a.buildAddress, exports.publicKey = _a.publicKey, exports.privateKey = _a.privateKey, exports.address = _a.address, exports.blake2b = _a.blake2b, exports.keccak = _a.keccak, exports.sha256 = _a.sha256, exports.sharedKey = _a.sharedKey, exports.seedWithNonce = _a.seedWithNonce, exports.base64Encode = _a.base64Encode, exports.base64Decode = _a.base64Decode, exports.base58Encode = _a.base58Encode, exports.base58Decode = _a.base58Decode, exports.base16Encode = _a.base16Encode, exports.base16Decode = _a.base16Decode, exports.stringToBytes = _a.stringToBytes, exports.bytesToString = _a.bytesToString, exports.random = _a.random, exports.randomSeed = _a.randomSeed, exports.randomBytes = _a.randomBytes, exports.verifySignature = _a.verifySignature, exports.verifyPublicKey = _a.verifyPublicKey, exports.verifyAddress = _a.verifyAddress, exports.messageDecrypt = _a.messageDecrypt, exports.messageEncrypt = _a.messageEncrypt, exports.aesDecrypt = _a.aesDecrypt, exports.aesEncrypt = _a.aesEncrypt, exports.encryptSeed = _a.encryptSeed, exports.decryptSeed = _a.decryptSeed, exports.rsaKeyPair = _a.rsaKeyPair, exports.rsaKeyPairSync = _a.rsaKeyPairSync, exports.rsaSign = _a.rsaSign, exports.rsaVerify = _a.rsaVerify, exports.merkleVerify = _a.merkleVerify, exports.split = _a.split, exports.concat = _a.concat; | ||
//# sourceMappingURL=bytes.js.map |
import { TSeed, INonceSeed, TPublicKey, TBinaryIn, TKeyPair, TPrivateKey } from './interface'; | ||
export declare const seedWithNonce: (seed: TSeed, nonce: number) => INonceSeed; | ||
export declare const buildAddress: (publicKeyBytes: Uint8Array, chainId?: string | number) => Uint8Array; | ||
export declare const keyPair: (seed: TSeed) => TKeyPair<Uint8Array>; | ||
@@ -4,0 +5,0 @@ export declare const address: (seedOrPublicKey: string | Uint8Array | number[] | import("./interface").TRawStringInDiscriminator | INonceSeed | TPublicKey<TBinaryIn>, chainId?: string | number) => Uint8Array; |
@@ -14,3 +14,3 @@ "use strict"; | ||
exports.seedWithNonce = function (seed, nonce) { return ({ seed: seed_1.Seed.toBinary(seed).seed, nonce: nonce }); }; | ||
var buildAddress = function (publicKeyBytes, chainId) { | ||
exports.buildAddress = function (publicKeyBytes, chainId) { | ||
if (chainId === void 0) { chainId = interface_1.MAIN_NET_CHAIN_ID; } | ||
@@ -48,3 +48,3 @@ var prefix = [1, typeof chainId === 'string' ? chainId.charCodeAt(0) : chainId]; | ||
return util_1.isPublicKey(seedOrPublicKey) ? | ||
buildAddress(param_1._fromIn(seedOrPublicKey.publicKey), chainId) : | ||
exports.buildAddress(param_1._fromIn(seedOrPublicKey.publicKey), chainId) : | ||
exports.address(exports.keyPair(seedOrPublicKey), chainId); | ||
@@ -51,0 +51,0 @@ }; |
@@ -85,3 +85,4 @@ "use strict"; | ||
}; | ||
return __assign({}, seedPart, { sharedKey: toOut(encryption_1.sharedKey), blake2b: hashing_1.blake2b, | ||
return __assign({}, seedPart, { sharedKey: toOut(encryption_1.sharedKey), buildAddress: address_keys_seed_1.buildAddress, | ||
blake2b: hashing_1.blake2b, | ||
keccak: hashing_1.keccak, | ||
@@ -88,0 +89,0 @@ sha256: hashing_1.sha256, |
@@ -76,2 +76,3 @@ /// <reference types="node" /> | ||
concat: (...binaries: TBinaryIn[]) => TBytes; | ||
buildAddress: (publicKeyBytes: TBytes, chainId: TChainId) => TBytes; | ||
random<T extends keyof TRandomTypesMap>(count: number, type: T): TRandomTypesMap[T]; | ||
@@ -78,0 +79,0 @@ randomBytes: (size: number) => TBytes; |
@@ -7,5 +7,5 @@ export { seedWordsList } from './crypto/seed-words-list'; | ||
export * from './crypto/interface'; | ||
export declare const signBytes: (seedOrPrivateKey: string | Uint8Array | number[] | import("./crypto/interface").TRawStringInDiscriminator | import("./crypto/interface").INonceSeed | import("./crypto/interface").TPrivateKey<import("./crypto/interface").TBinaryIn>, bytes: import("./crypto/interface").TBinaryIn, random?: string | Uint8Array | number[] | undefined) => string, keyPair: (seed: import("./crypto/interface").TSeed) => import("./crypto/interface").TKeyPair<string>, publicKey: (seedOrPrivateKey: string | Uint8Array | number[] | import("./crypto/interface").TRawStringInDiscriminator | import("./crypto/interface").INonceSeed | import("./crypto/interface").TPrivateKey<import("./crypto/interface").TBinaryIn>) => string, privateKey: (seed: import("./crypto/interface").TSeed) => string, address: (seedOrPublicKey: string | Uint8Array | number[] | import("./crypto/interface").TRawStringInDiscriminator | import("./crypto/interface").INonceSeed | import("./crypto/interface").TPublicKey<import("./crypto/interface").TBinaryIn>, chainId?: string | number | undefined) => string, blake2b: (input: import("./crypto/interface").TBinaryIn) => Uint8Array, keccak: (input: import("./crypto/interface").TBinaryIn) => Uint8Array, sha256: (input: import("./crypto/interface").TBinaryIn) => Uint8Array, sharedKey: (privateKeyFrom: import("./crypto/interface").TBinaryIn, publicKeyTo: import("./crypto/interface").TBinaryIn, prefix: import("./crypto/interface").TRawStringIn) => string, seedWithNonce: (seed: import("./crypto/interface").TSeed, nonce: number) => import("./crypto/interface").INonceSeed, base64Encode: (input: import("./crypto/interface").TBinaryIn) => string, base64Decode: (input: string) => Uint8Array, base58Encode: (input: import("./crypto/interface").TBinaryIn) => string, base58Decode: (input: string) => Uint8Array, base16Encode: (input: import("./crypto/interface").TBinaryIn) => string, base16Decode: (input: string) => Uint8Array, stringToBytes: (input: string, encoding?: "utf8" | "raw" | undefined) => Uint8Array, bytesToString: (input: import("./crypto/interface").TBinaryIn, encoding?: "utf8" | "raw" | undefined) => string, random: <T extends "Array8" | "Array16" | "Array32" | "Buffer" | "Uint8Array" | "Uint16Array" | "Uint32Array">(count: number, type: T) => import("./crypto/interface").TRandomTypesMap[T], randomSeed: (wordsCount?: number | undefined) => string, randomBytes: (size: number) => Uint8Array, verifySignature: (publicKey: import("./crypto/interface").TBinaryIn, bytes: import("./crypto/interface").TBinaryIn, signature: import("./crypto/interface").TBinaryIn) => boolean, verifyPublicKey: (publicKey: import("./crypto/interface").TBinaryIn) => boolean, verifyAddress: (address: import("./crypto/interface").TBinaryIn, optional?: { | ||
export declare const signBytes: (seedOrPrivateKey: string | Uint8Array | number[] | import("./crypto/interface").TRawStringInDiscriminator | import("./crypto/interface").INonceSeed | import("./crypto/interface").TPrivateKey<import("./crypto/interface").TBinaryIn>, bytes: import("./crypto/interface").TBinaryIn, random?: string | Uint8Array | number[] | undefined) => string, keyPair: (seed: import("./crypto/interface").TSeed) => import("./crypto/interface").TKeyPair<string>, publicKey: (seedOrPrivateKey: string | Uint8Array | number[] | import("./crypto/interface").TRawStringInDiscriminator | import("./crypto/interface").INonceSeed | import("./crypto/interface").TPrivateKey<import("./crypto/interface").TBinaryIn>) => string, privateKey: (seed: import("./crypto/interface").TSeed) => string, address: (seedOrPublicKey: string | Uint8Array | number[] | import("./crypto/interface").TRawStringInDiscriminator | import("./crypto/interface").INonceSeed | import("./crypto/interface").TPublicKey<import("./crypto/interface").TBinaryIn>, chainId?: string | number | undefined) => string, buildAddress: (publicKeyBytes: Uint8Array, chainId: string | number) => Uint8Array, blake2b: (input: import("./crypto/interface").TBinaryIn) => Uint8Array, keccak: (input: import("./crypto/interface").TBinaryIn) => Uint8Array, sha256: (input: import("./crypto/interface").TBinaryIn) => Uint8Array, sharedKey: (privateKeyFrom: import("./crypto/interface").TBinaryIn, publicKeyTo: import("./crypto/interface").TBinaryIn, prefix: import("./crypto/interface").TRawStringIn) => string, seedWithNonce: (seed: import("./crypto/interface").TSeed, nonce: number) => import("./crypto/interface").INonceSeed, base64Encode: (input: import("./crypto/interface").TBinaryIn) => string, base64Decode: (input: string) => Uint8Array, base58Encode: (input: import("./crypto/interface").TBinaryIn) => string, base58Decode: (input: string) => Uint8Array, base16Encode: (input: import("./crypto/interface").TBinaryIn) => string, base16Decode: (input: string) => Uint8Array, stringToBytes: (input: string, encoding?: "utf8" | "raw" | undefined) => Uint8Array, bytesToString: (input: import("./crypto/interface").TBinaryIn, encoding?: "utf8" | "raw" | undefined) => string, random: <T extends "Array8" | "Array16" | "Array32" | "Buffer" | "Uint8Array" | "Uint16Array" | "Uint32Array">(count: number, type: T) => import("./crypto/interface").TRandomTypesMap[T], randomSeed: (wordsCount?: number | undefined) => string, randomBytes: (size: number) => Uint8Array, verifySignature: (publicKey: import("./crypto/interface").TBinaryIn, bytes: import("./crypto/interface").TBinaryIn, signature: import("./crypto/interface").TBinaryIn) => boolean, verifyPublicKey: (publicKey: import("./crypto/interface").TBinaryIn) => boolean, verifyAddress: (address: import("./crypto/interface").TBinaryIn, optional?: { | ||
chainId?: string | number | undefined; | ||
publicKey?: string | Uint8Array | number[] | undefined; | ||
} | undefined) => boolean, messageDecrypt: (sharedKey: import("./crypto/interface").TBinaryIn, encryptedMessage: import("./crypto/interface").TBinaryIn) => string, messageEncrypt: (sharedKey: import("./crypto/interface").TBinaryIn, message: string) => Uint8Array, aesDecrypt: (encryptedData: import("./crypto/interface").TBinaryIn, encryptionKey: import("./crypto/interface").TBinaryIn, mode?: "CBC" | "CFB" | "CTR" | "OFB" | "ECB" | "GCM" | undefined, iv?: string | Uint8Array | number[] | undefined) => Uint8Array, aesEncrypt: (data: import("./crypto/interface").TBinaryIn, encryptionKey: import("./crypto/interface").TBinaryIn, mode?: "CBC" | "CFB" | "CTR" | "OFB" | "ECB" | "GCM" | undefined, iv?: string | Uint8Array | number[] | undefined) => Uint8Array, encryptSeed: (seed: string, password: string, encryptionRounds?: number | undefined) => string, decryptSeed: (encryptedSeed: string, password: string, encryptionRounds?: number | undefined) => string, rsaKeyPair: (bits?: number | undefined, e?: number | undefined) => Promise<import("./crypto/interface").TRSAKeyPair>, rsaKeyPairSync: (bits?: number | undefined, e?: number | undefined) => import("./crypto/interface").TRSAKeyPair, rsaSign: (rsaPrivateKey: Uint8Array, message: Uint8Array, digest?: "MD5" | "SHA1" | "SHA224" | "SHA256" | "SHA384" | "SHA512" | "SHA3-224" | "SHA3-256" | "SHA3-384" | "SHA3-512" | undefined) => Uint8Array, rsaVerify: (rsaPublicKey: Uint8Array, message: Uint8Array, signature: Uint8Array, digest?: "MD5" | "SHA1" | "SHA224" | "SHA256" | "SHA384" | "SHA512" | "SHA3-224" | "SHA3-256" | "SHA3-384" | "SHA3-512" | undefined) => boolean, merkleVerify: (rootHash: Uint8Array, merkleProof: Uint8Array, leafData: Uint8Array) => boolean, split: (binary: import("./crypto/interface").TBinaryIn, ...sizes: number[]) => Uint8Array[], concat: (...binaries: import("./crypto/interface").TBinaryIn[]) => Uint8Array; |
@@ -20,3 +20,3 @@ "use strict"; | ||
__export(require("./crypto/interface")); | ||
exports.signBytes = (_a = crypto_1.crypto({ output: 'Base58' }), _a.signBytes), exports.keyPair = _a.keyPair, exports.publicKey = _a.publicKey, exports.privateKey = _a.privateKey, exports.address = _a.address, exports.blake2b = _a.blake2b, exports.keccak = _a.keccak, exports.sha256 = _a.sha256, exports.sharedKey = _a.sharedKey, exports.seedWithNonce = _a.seedWithNonce, exports.base64Encode = _a.base64Encode, exports.base64Decode = _a.base64Decode, exports.base58Encode = _a.base58Encode, exports.base58Decode = _a.base58Decode, exports.base16Encode = _a.base16Encode, exports.base16Decode = _a.base16Decode, exports.stringToBytes = _a.stringToBytes, exports.bytesToString = _a.bytesToString, exports.random = _a.random, exports.randomSeed = _a.randomSeed, exports.randomBytes = _a.randomBytes, exports.verifySignature = _a.verifySignature, exports.verifyPublicKey = _a.verifyPublicKey, exports.verifyAddress = _a.verifyAddress, exports.messageDecrypt = _a.messageDecrypt, exports.messageEncrypt = _a.messageEncrypt, exports.aesDecrypt = _a.aesDecrypt, exports.aesEncrypt = _a.aesEncrypt, exports.encryptSeed = _a.encryptSeed, exports.decryptSeed = _a.decryptSeed, exports.rsaKeyPair = _a.rsaKeyPair, exports.rsaKeyPairSync = _a.rsaKeyPairSync, exports.rsaSign = _a.rsaSign, exports.rsaVerify = _a.rsaVerify, exports.merkleVerify = _a.merkleVerify, exports.split = _a.split, exports.concat = _a.concat; | ||
exports.signBytes = (_a = crypto_1.crypto({ output: 'Base58' }), _a.signBytes), exports.keyPair = _a.keyPair, exports.publicKey = _a.publicKey, exports.privateKey = _a.privateKey, exports.address = _a.address, exports.buildAddress = _a.buildAddress, exports.blake2b = _a.blake2b, exports.keccak = _a.keccak, exports.sha256 = _a.sha256, exports.sharedKey = _a.sharedKey, exports.seedWithNonce = _a.seedWithNonce, exports.base64Encode = _a.base64Encode, exports.base64Decode = _a.base64Decode, exports.base58Encode = _a.base58Encode, exports.base58Decode = _a.base58Decode, exports.base16Encode = _a.base16Encode, exports.base16Decode = _a.base16Decode, exports.stringToBytes = _a.stringToBytes, exports.bytesToString = _a.bytesToString, exports.random = _a.random, exports.randomSeed = _a.randomSeed, exports.randomBytes = _a.randomBytes, exports.verifySignature = _a.verifySignature, exports.verifyPublicKey = _a.verifyPublicKey, exports.verifyAddress = _a.verifyAddress, exports.messageDecrypt = _a.messageDecrypt, exports.messageEncrypt = _a.messageEncrypt, exports.aesDecrypt = _a.aesDecrypt, exports.aesEncrypt = _a.aesEncrypt, exports.encryptSeed = _a.encryptSeed, exports.decryptSeed = _a.decryptSeed, exports.rsaKeyPair = _a.rsaKeyPair, exports.rsaKeyPairSync = _a.rsaKeyPairSync, exports.rsaSign = _a.rsaSign, exports.rsaVerify = _a.rsaVerify, exports.merkleVerify = _a.merkleVerify, exports.split = _a.split, exports.concat = _a.concat; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@waves/ts-lib-crypto", | ||
"version": "1.4.1", | ||
"version": "1.4.2", | ||
"description": "This library contains all algorithm implementations like signature verification and protocol entries like address used in Waves.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
533093
4793