// Module ID: 15350 // Function ID: 15351 // Name: generateRsaKeyPair // Dependencies: [5, 15351, 2] // Module 15350 (generateRsaKeyPair) import enforcingDefault from "enforcing" /* 15351 */; import closure_2 from "asyncGeneratorStep" /* 5 */; let closure_3 = {}; class AndroidRemoteAuthCrypto { } const prototype = AndroidRemoteAuthCrypto.prototype; prototype["generateRsaKeyPair"] = function generateRsaKeyPair() { return callback(function*() { closure_0 = tmp4; const obj2 = closure_1_0(table[1]); yield obj2.generateKeyPair(); return closure_3; })(); }; prototype["serializePublicKey"] = function serializePublicKey(c3) { return enforcingDefault.getEncodedPublicKey(); }; prototype["publicKeyFingerprint"] = function publicKeyFingerprint(c3) { return enforcingDefault.getPublicKeyFingerprint(); }; prototype["decryptEncodedCiphertext"] = function decryptEncodedCiphertext(closure_0, closure_02) { closure_0 = closure_02; return callback(function*() { closure_0 = tmp2; const obj3 = closure_1_0(table[1]); closure_0 = yield obj3.decrypt(closure_1_0); const _Uint8Array = Uint8Array; const _atob = atob; const _TextDecoder = TextDecoder; const textDecoder = new TextDecoder(); return textDecoder.decode(closure_1); })(); }; prototype["decryptNonce"] = function decryptNonce(arg0, encrypted_nonce) { closure_0 = encrypted_nonce; return callback(function*() { const obj2 = v0(table[1]); yield obj2.decrypt(v0).then((str) => str.replace(/\//g, "_").replace(/\+/g, "-")); return arg1; })(); }; prototype["release"] = function release() { enforcingDefault.releaseKeyPair(); }; const result = require("set").fileFinishedImporting("modules/remote_auth/RemoteAuthCrypto.android.tsx"); export default Object.create(AndroidRemoteAuthCrypto.prototype);