/*! * Webogram v0.1.8 - messaging web application for MTProto * https://github.com/zhukov/webogram * Copyright (C) 2014 Igor Zhukov * https://github.com/zhukov/webogram/blob/master/LICENSE */ importScripts( '../../vendor/console-polyfill/console-polyfill.js', 'bin_utils.js', '../../vendor/leemon_bigint/bigint.js', '../../vendor/closure/long.js', '../../vendor/jsbn/jsbn_combined.js' ); onmessage = function (e) { postMessage(pqPrimeFactorization(e.data)); }