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

12 lines
361 B
JavaScript
Raw Normal View History

2014-01-05 20:07:11 +04:00
/*!
* Webogram v0.1 - messaging web application for MTProto
* https://github.com/zhukov/webogram
* Copyright (C) 2014 Igor Zhukov <igor.beatle@gmail.com>
* https://github.com/zhukov/webogram/blob/master/LICENSE
*/
2014-01-05 21:39:37 +04:00
importScripts('mtproto.js', '../../vendor/jsbn/jsbn_combined.js');
2014-01-05 20:07:11 +04:00
onmessage = function (e) {
postMessage(pqPrimeFactorization(e.data));
}