@dxos/crypto
Advanced tools
Comparing version 1.0.0-beta.11 to 1.0.0-beta.12
@@ -11,2 +11,3 @@ /// <reference types="node" /> | ||
export declare const createKeyPair: () => KeyPair; | ||
export declare const discoveryKey: (key: Buffer | Uint8Array) => Buffer; | ||
/** | ||
@@ -13,0 +14,0 @@ * @param {string} str - Hex string representation of key. |
@@ -9,3 +9,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.verify = exports.sign = exports.createId = exports.randomBytes = exports.humanize = exports.keyToString = exports.keyToBuffer = exports.createKeyPair = exports.SIGNATURE_LENGTH = exports.SECRET_KEY_LENGTH = exports.PUBLIC_KEY_LENGTH = exports.hasher = void 0; | ||
exports.verify = exports.sign = exports.createId = exports.randomBytes = exports.humanize = exports.keyToString = exports.keyToBuffer = exports.discoveryKey = exports.createKeyPair = exports.SIGNATURE_LENGTH = exports.SECRET_KEY_LENGTH = exports.PUBLIC_KEY_LENGTH = exports.hasher = void 0; | ||
const assert_1 = __importDefault(require("assert")); | ||
@@ -19,2 +19,3 @@ const humanhash_1 = __importDefault(require("humanhash")); | ||
exports.createKeyPair = hypercore_crypto_1.default.keyPair; | ||
exports.discoveryKey = hypercore_crypto_1.default.discoveryKey; | ||
/** | ||
@@ -21,0 +22,0 @@ * @param {string} str - Hex string representation of key. |
{ | ||
"name": "@dxos/crypto", | ||
"version": "1.0.0-beta.11", | ||
"version": "1.0.0-beta.12", | ||
"description": "Basic crypto key utils", | ||
@@ -5,0 +5,0 @@ "files": [ |
@@ -28,2 +28,4 @@ // | ||
export const discoveryKey: (key: Buffer | Uint8Array) => Buffer = crypto.discoveryKey; | ||
/** | ||
@@ -30,0 +32,0 @@ * @param {string} str - Hex string representation of key. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
94442
1126