Telegram Web, preconfigured for usage in I2P.
http://web.telegram.i2p/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
475 B
18 lines
475 B
/*! |
|
* Webogram v0.1.7 - 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 |
|
*/ |
|
|
|
importScripts( |
|
'../../vendor/console-polyfill/console-polyfill.js', |
|
'bin_utils.js', |
|
'../../vendor/cryptoJS/crypto.js' |
|
); |
|
|
|
onmessage = function (e) { |
|
var taskID = e.data.taskID; |
|
|
|
postMessage({taskID: taskID, result: sha1Hash(e.data.bytes)}); |
|
}
|
|
|