webogram-i2p/app/js/lib/pq_worker.js

18 lines
460 B
JavaScript
Raw Normal View History

2014-01-05 16:07:11 +00:00
/*!
2014-03-22 20:19:07 +00:00
* Webogram v0.0.21 - messaging web application for MTProto
2014-01-05 16:07:11 +00:00
* https://github.com/zhukov/webogram
* Copyright (C) 2014 Igor Zhukov <igor.beatle@gmail.com>
* https://github.com/zhukov/webogram/blob/master/LICENSE
*/
importScripts(
2014-03-12 21:55:12 +00:00
'../../vendor/console-polyfill/console-polyfill.js',
'mtproto.js',
'../../vendor/closure/long.js',
'../../vendor/jsbn/jsbn_combined.js'
);
2014-01-05 16:07:11 +00:00
onmessage = function (e) {
postMessage(pqPrimeFactorization(e.data));
2014-02-13 15:37:20 +00:00
}