00:17
<
alexgordon >
sup pikajude
00:26
fujisan has quit [Quit: Connection closed for inactivity]
00:38
jane has quit [Ping timeout: 268 seconds]
00:45
jane has joined #elliottcable
02:30
jane has quit [Changing host]
02:30
jane has joined #elliottcable
03:45
<
pikajude >
sup alexgordon
03:45
<
pikajude >
i'm linux
03:46
<
alexgordon >
I'm a mac
03:46
<
jfhbrook >
i'm high
03:46
<
alexgordon >
no that's elliott
03:47
* alexgordon
is making the world's shittiest encryption library
03:51
<
jfhbrook >
openssl but for javascript
03:57
<
alexgordon >
holy shit it's working
03:57
<
alexgordon >
jfhbrook: nope
03:59
<
jfhbrook >
why did you do that
03:59
<
jfhbrook >
surely python already has an excellent encryption library built-in?
03:59
<
jfhbrook >
I mean if your answer's "personal knowledge," good job
03:59
<
alexgordon >
jfhbrook: bored
04:00
<
alexgordon >
jfhbrook: also no, there is no encryption library built in
04:00
<
jfhbrook >
that's mildly surprising
04:00
<
jfhbrook >
I guess maybe they didn't want to deal with having to manage patch releases for security vulns?
04:00
<
alexgordon >
the python developers aren't cryptographers so they don't want to get involved with that stuff
04:01
<
jfhbrook >
I jsut figured they'd write bindings to openssl y'know?
04:01
<
alexgordon >
there is probably a libsodium binding somewhere
04:04
<
alexgordon >
jfhbrook: my one doesn't do asymmetric encryption, so is probably pretty useless, OTOH I quite like the idea of an encryption library that doesn't require native code
04:04
<
jfhbrook >
see that's why "openssl but for javascript" would have actually almost but not quite have made sense :v
04:06
<
alexgordon >
yeah I should write this again in javascript
04:07
<
jfhbrook >
put that shit on npm ;D
04:08
<
alexgordon >
I guess I should try this with messages longer than the block size...
04:09
<
alexgordon >
yep, that works
04:18
<
alexgordon >
it does, amazingly, seem to be working
04:21
<
alexgordon >
SHIP IT!
04:50
<
pikajude >
wouldn't that be unbearably slow
04:51
<
jfhbrook >
define unbearable :v
04:51
<
pikajude >
slower than you can bear
04:51
<
jfhbrook >
I think that depends on the person and the algorithm and the use thereof
04:51
<
jfhbrook >
not that I have any real numbers to talk intelligently about!
04:52
<
jfhbrook >
but I bet there are a reasonable set of situations for which it
*is* bearable
04:59
<
alexgordon >
pikajude: let's see
04:59
<
alexgordon >
pikajude: it's only really for fun :P
05:01
<
alexgordon >
I'm not expecting anybody to use the cryptography library I wrote at 3am
05:02
<
pikajude >
why not? people need to write crypto code at 3 am
05:02
<
alexgordon >
pikajude: it can do 6585 messages per second
05:02
<
alexgordon >
short ones :P
05:04
<
alexgordon >
about 1MB/second
05:04
<
alexgordon >
I haven't, like, optimised it or anything
05:04
<
pikajude >
heaven forbid
05:05
<
alexgordon >
writing it more to be understandable than fast
05:05
<
pikajude >
are you going to put it on npmjs.org in the name of an older established package with a completely different interface and function?
05:05
<
pikajude >
i think you should
05:06
<
alexgordon >
I will put it on npmjs, wait for people to rely on it, and then take it down
05:06
<
alexgordon >
muahaha
05:08
<
alexgordon >
pikajude: slowest bit by far is xoring two bytes objects
05:08
<
alexgordon >
but I don't know how to do that quickly in python
05:08
<
pikajude >
stackoverflow!
05:10
<
alexgordon >
fuck me if this works
05:11
<
alexgordon >
not sure if it worked or not
05:11
<
alexgordon >
but runtime is down by 50%
05:11
<
alexgordon >
pikajude: 2MB/s :P
05:17
<
alexgordon >
but pretty much at a limit because python doesn't support SHAKE()
05:20
<
pikajude >
shake it up, shake it up
05:21
<
alexgordon >
I dunno what happened about that
05:22
<
alexgordon >
python was going to implement sha3 in hashlib
05:22
<
alexgordon >
then... nothing happened
05:54
alexgordon has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
10:39
eligrey has quit [Quit: Leaving]
12:31
Sgeo__ has quit [Ping timeout: 252 seconds]
12:46
alexgordon has joined #elliottcable
13:22
alexgordon has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
15:17
Navarr has joined #elliottcable
15:34
fujisan has joined #elliottcable
17:53
eligrey has joined #elliottcable
17:56
Rurik has joined #elliottcable
20:28
meowrobot has quit [Quit: let us connect our intestines and mutually digest]
21:33
Navarr has quit [Read error: Connection reset by peer]
21:33
Navarr has joined #elliottcable
21:33
krainboltgreene has quit [Ping timeout: 240 seconds]
21:34
jwheare has quit [Ping timeout: 240 seconds]
21:36
jwheare has joined #elliottcable
21:37
krainboltgreene has joined #elliottcable
22:10
Sgeo__ has joined #elliottcable
22:27
Navarr has quit [Quit: Connection closed for inactivity]
23:08
pikajude has quit [Ping timeout: 248 seconds]
23:13
pikajude has joined #elliottcable
23:13
pikajude has quit [Changing host]
23:13
pikajude has joined #elliottcable