@tidecloak/js
Version:
TideCloak client side JS SDK
43 lines • 2.12 kB
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.tests = void 0;
const KeyGeneration_js_1 = require("./KeyGeneration.js");
const KeyAuthentication_js_1 = require("./KeyAuthentication.js");
const AccountRecovery_js_1 = require("./AccountRecovery.js");
const StripeLicensing_js_1 = require("./StripeLicensing.js");
const Components_js_1 = require("./Components.js");
const Encryption_js_1 = require("./Encryption.js");
const TideKey_js_1 = __importDefault(require("./TideKey.js"));
const Verifier_js_1 = require("./Verifier.js");
exports.tests = {
StripeLicensing: StripeLicensing_js_1.StripeLicensing,
CheckLicenseAddedToPayer: StripeLicensing_js_1.CheckLicenseAddedToPayer,
NewCMK_NewPRISM: KeyGeneration_js_1.NewCMK_NewPRISM,
ExistingCMK_NewPRISM: KeyGeneration_js_1.ExistingCMK_NewPRISM,
CMKAuth_Basic: KeyAuthentication_js_1.CMKAuth_Basic,
CMKAuth_Remembered: KeyAuthentication_js_1.CMKAuth_Remembered,
EmailRecovery: AccountRecovery_js_1.EmailRecovery,
NewVVK: KeyGeneration_js_1.NewVVK,
HealPrism: KeyGeneration_js_1.HealPrism,
Ed25519PublicDeserialization: Components_js_1.Ed25519PublicDeserialization,
Get_Auth_By_JWT: Encryption_js_1.Get_Auth_By_JWT,
Encrypt: Encryption_js_1.Encrypt,
Decrypt: Encryption_js_1.Decrypt,
Tide_Key: TideKey_js_1.default,
Verifier: Verifier_js_1.Verifier
};
/**
{
"vendorId": "54f2c12e7c0c713e6107a5f8b76cc0ead5be1309069e2bca0df033b20f0f2fc2",
"gVRK": "17ffad8068dc0de9935d36636f3ad1b5de6de3413b12388e453b05f2a4c1d3db"
}
*/
//console.log(Bytes2Hex(Point.BASE.mul(BigInt("123456789")).toRawBytes()));
//const obfg = Bytes2Hex((await HashToPoint(Point.BASE.toRawBytes())).mul(BigIntFromByteArray(await SHA256_Digest(BigIntToByteArray(BigInt("123456789"))))).toRawBytes())
//console.log(obfg);
//console.log(Bytes2Hex((await HashToPoint(Point.BASE.toRawBytes())).toRawBytes()));
window.tests = exports.tests;
//# sourceMappingURL=index.js.map