I hereby claim:
- I am adnsio on github.
- I am adnsio (https://keybase.io/adnsio) on keybase.
- I have a public key ASD4TYjBuqcRQGjttJTGWUqYgChRGBXV6JwtB73ghI5Upgo
To claim this, I am signing this object:
package main | |
import ( | |
"bytes" | |
"crypto/aes" | |
"crypto/cipher" | |
"crypto/rand" | |
"fmt" | |
"github.com/adnsio/ecdh/ecdh25519" |
I hereby claim:
To claim this, I am signing this object:
use std::io; | |
use std::io::prelude::*; | |
use std::net::{TcpListener, TcpStream}; | |
use std::thread; | |
fn handle_connection(mut stream: TcpStream) { | |
let mut buffer = [0; 512]; | |
loop { | |
stream.read(&mut buffer).unwrap(); |