hi, well Hello, Def Con. It's nice to be back. Thank you very much for showing up. And welcome to crypto for hackers. A cool little talk I put together. It's in our moments of greatest weakness that we define ourselves as individuals. This is something that I said years ago, to a colleague of mine at American express when I was in charge of their security portfolio. The executive VP team had decided not to strengthen our password policy because it would have increased our costs too much. The sad thing is, it was cheaper just to pay out in lawsuits and insurance premiums when our customer data was hacked. Now, this is one of many real-world scenarios that we face in our modern Internet. This is the world we live in. And this is exactly the way of thinking that caused so many problems. But times are changing and there are those of us who think differently. Those of us who are at war with this establishment. Governments and corporations continue to support legislation that revocation our personal rights. Our every action is monitored, and our every intention is scrutinized. As each year passes, we lose more of what it means to be free. The ability to share information is one of our most basic and fundamental rights. Without this, there is no privacy, there is no freedom of expression, and no ability to hold rogue agencies accountable for their unlawful activities. As long as governments and corporations can eaves drop on our communications, we live in a constant state of fear. But we have the power to change the future. We are hackers, we are programmers, we are members of the info sect community and we are strong and we are smart. We are far smarter than they are, and this what makes them afraid, this is what scares them. Ladies and gentlemen, I would like to introduce you to a very dear friend of mine. He's a business partner as well. He's a visionary in the field of information security and privacy. Truly a man who needs no introduction. My good friend, the one and only, Mr. John McAfee. (Applause.) Now, there's a rumor going around the goons that John and I might be up on stage doing a shot together with some goons. So goons, is that just a rumor? Sorry, I think I threw of timing. Sorry about that. So it's not a rumor. All right. So welcome, proctor, an awesome goon who has some alcohol for us. (Applause.) >> Shut this whole thing down. This is not secure. >> I am really John Smith. No relation to the McAfee that just got out of jail the other day. >> Sir, are you a new speaker at Def Con. >> I'm afraid I am. >> And what do new speakers do? >> That was a lie. I actually keynoted last year. >> He insisted on doing water. >> To Def Con! (Applause.) Are we really doing a selfie? Is that what's happening? >> I am very proud, by the way today to be standing on stage with Eijah. I noticed Eijah at hack Miami, he seemed to have no life whatsoever. >> That's true. >> Which is absolutely true. >> Absolutely. >> Which is indicative of a man who is dedicated to the work that he is doing. And I have never seen a more dedicated programmer than the man standing next to me. What he's going to talk to you about today is something radically new, social encryption, which to me is the closest thing to electronic magic that I have ever seen. You'll be talking about that, right? >> Absolutely, sir. >> I'm on the right stage. >> The last 15 minutes we'll talk about social crypto, yeah. >> Good. And trying to get in touch with this man is the most difficult thing in the world. He never answers the phone but if you call him at 3:15 in the morning, at 3:17 you'll get an answer. I think the demonsaw project which is under the umbrella of future tense now is one of my favorite projects and I think it's going to change the way that we communicate, the way that we look at data and it's going to give us a degree of privacy which I personally need, and I think all of you do as well. Without further adieu I'm going to give this back to the man of the hour. Thank you for inviting me on stage. >> You're welcome. Thank you, sir. (Applause.) These mics are not hug friendly. Just FYI >> John, thank you very much. That was a kind introduction. I may have screwed this up. So what I want to do, before I start about crypto for hackers, because I think this is an exciting 101 talk and thank you for packing the room. I love being here at Def Con, I love speaking and if anyone wants a beer, once this talk is over, my schedule frees up and my stress level drops like 4,000%. I would love to have a beer with you and just chat about anything. About why blue is a better color than red. It doesn't matter. We can talk. One thing I want to point out is John and I had a crazy, a pretty fucking crazy idea a few weeks ago. We thought let's throw the biggest, awesome party at Def Con that has ever happened. Can we do it in just a couple of days? So in a couple of days we pulled together this party. There's an eventbrite link. We can have up to 5,000 people before hustler's strip club is in violation of fire code. I think we're at least 1,500, almost 2,000 now. So go there, sign up. It's a free party tonight at 10:00 p.m. and there's free buses, free limo service from Bally's. All the information is on Def Con parties, all the information is on demonsaw. We would love for you to show up. There's going to be some free beer. Have you to take the bus and the limo. Some sort of contractual agreement, but there's a number we'll tweet out for free limo pickup. Show up, party with us. We've rented out the entire roof top floor once the free booze runs out, about 20 minutes, it will be $5 beers and $5 shots for the whole not. Not $12 strip club prices. We negotiated that just for you guys. And it will be awesome. All right. Enough about that. Oh, also, if you want to get a picture with John or a picture with me, the place to do that is at that party. There's a lot of people here, it's a little congested and some safety issues. We ask that you don't come up to John after this. But at the party we're going to be there as long as you guys will be there. If you want a picture with John or me, we'll totally do it at the party. So who am I? My name is Eijah. Is that my real name? It's my real name here. I'm a founder of demonsaw which is a new type of platform. It is a brand new type of information sharing platform that allows you to share your files securely and allows you to share your communications securely, chat securely, share securely, there's no infrastructure, there's no peer-to-peer. It's a little bit of tor, a little bit of drop box, it works, it's secure and there's no infrastructure. I don't log, I don't track, there's no ads. I don't make any money. I do it, I work 100-hour weeks just to make something that we can protect our privacy. I get nothing out of it except knowing that we're secure. I'm also a senior programmer at rock star games. So yes, I have just outed myself right here at Def Con 23. I'm a senior programmer and I worked on grand theft auto 5 and I worked on max Payne 3. I lived in Europe for almost a year. John was very kind in his words. I've been a programmer for a long time. I'm passionate about code and I'm passionate about hacking. And I'm also a part-time hacker in my free time. My lawyer told me that I should preface the next phrase with I may or may not have been involved with the original Blu-Ray hack where the device keys were released to the world. So I may or may not have been Atari vampire a few years back. So now my lawyer will be happy. So obviously I'm somebody who's obsessed with security, somebody who's obsessed with privacy. Last year at Def Con I spoke about the modern Internet and our privacy was at risk for convenience. This year, rather than focus on the sad, dark times we've seen ourselves thrown into, I'd like to talk about the future and what we can do to regain control and change our future. Because everything in this talk is about empowerment of the individual and making us stronger. I have a shirt on, you'll see what it says in a few minutes and I'll be giving a bunch of these away today. But as the weeks went on last year, I started thinking more about the role of crypto, that it plays in secure communications and I thought about how traditional security was based around the infrastructure. So if you think about the traditional security model that we've had for 30, 40-plus years, it's based around authorities and trust. It's based around these trusted nodes, call them key stores or authoritative sources or certificate authorities or identity providers or whatever you want to call them, all of that they can be called. But it's these pieces of hardware and software that we trust for some reason. And when we want to authenticate or authorize, we access these nodes that verify our identity. This model of trust is not ideal and not scaleable for social networks and for individual sharing. It just doesn't work. PKI and strong crypto is just too difficult. Exchanging billions of keys to securely communicate in a large group is too much work and even key stores don't solve this problem. It's painful to be secure in our modern age. Crypto is hard. It shouldn't be that way. So becoming powerful again, and empowering individual really starts with making crypto easy. Now, I want to talk just for a second about what our world would look like without secrets. Imagine a world where we didn't have privacy. What would that look like? Well, remember at our core, each one of us are individuals. And we wrap this individual core in layers of social networks. But when it comes down to it, we're still individual people and we still have dark secrets that we want to protect. So a world without secrets would be an extremely dangerous place. It would be fragile where everything is known about everybody. Even the most facts of disobedience would be dealt with in other ways. There would be no freedom, no joys, nothing to live for. It would be dismal and bleak. Society would crumble and our existence would be meaningless. Those are pretty dark statements, right? But if you really think about secrecy and privacy, we cannot survive without privacy. So crypto is our strongest weapon. It was considered a military weapon in the U.S. until 1992. By the way, this is Picari. It's called a peak a boo face palm. It's really bad face palm. So crypto can be used as both an offensive and defensive weapon. We can focus our attacks and we can protect our assets. Poor crypto implementation as in the case of the AACS hacks a few years back can totally ruin a specification a protocol, a company or even an app. There's been a lot of news lately in the UK and U.S. about very foolish individuals like David Cameron, the prime minister of the UK. Foolish man. There's also another guy who doesn't get it. James, the FBI director. Both of these gentleman have advocated either for decreasing the amount of encryption or providing backdoor access to the feds. To be honest -- I'm being facetious. The feds never make a mistake with respect to crypto. It's not like 21 million records have just been leaked in an OPM recently, right? We can't trust the feds to protect our stuff. We have to take control and be authoritative. Technology has always been the deciding factor between survival extinction. This is still true today. Governments and corporations have one fatal weakness. They are not us. They are not programmers, they are not hackers, they do not adapt well and quickly to change. We do. So technology is on our side, favoring those who embrace it most. Today we have the capacity and the ability to be greater than governments and corporations, and this is what makes them afraid. This is what scares the shit out of our government and the UK government and corporations. Because they no longer are the powerful ones. So the people will win in the end through hackers and programmers and people like us. I was thinking about a battle cry for our hacker generation. I call this group here the hacker generation. I'm not sure, I don't know if I coined that. I just view us as the hacker generation, maybe generation X, maybe millennials, maybe baby boomers, we need a mantra, a battle cry to let the feds and corporations know how we feel and what we're doing. So I came up with that and printed it on the back of 150 demonsaw shirts. Here it is. My shit, my way, fuck off NSA. What do you think? That's it. (Applause.) This is the battle cry of our hacker generation. This is who we are. And so a talk about crypto for hackers should involve some crypto, right? So what we're going to do, now that I got you excited about getting a T-shirt. If I get really drunk, the chances of me giving them all out within five minutes are very, very high. Almost a probability of one. So at the party I could very well give you my entire backpack full of T-shirts. That has happened before. So let's talk about Edward Snowden once said encryption is the defense against the dark arts. What that means in layman's terms, crypto will set us free. I come from a very strong religious background years and years ago. But when I grew up in church they talked about different things setting us free. As I grew into an adult, I realized there's very few things at all that will set us free. I think we can set ourselves free, but I also think from a technology standpoint, crypto will set us free from an infosect perspective. So there's a few terms we're going to talk about. I'm not going to review them all just because of lack of time here, but we're going to -- these are keywords that cryptography. What does that mean? It's such a big word. People abbreviate it as crypto. It's a fancy word for just describing, the practice and study of techniques for secure communication in the presence of third parties. That's still kind of geeky. What does it really mean? I want to share information to one of you or many of you out there. And I don't want to know about it or either know about it or tamper with it or do anything or replay it or extend it or anything that's going to alter or somehow convey the message to an unintended recipient. A cypher is a fancy term for an algorithm. That's all it is. Encryption is a fancy word for just saying we're going to take what's called plain text and we're going to mix it up and create this fancy output called cypher test. And it shouldn't have anything to do or look like the plain text. When we decrypt it, we convert from cypher text back to plain text. To be honest, to be a cryptographer is a lifetime per suit. I don't mean to demeanor minimalize the lifetime work of cryptographers. To know the basics and use it effectively hopefully is a matter of -- and that's what we're going to prove out today. A key, it's kind of like a key in the real world. It's just a parameter that determines the functional output of an encrypted cypher. That key will have a unique effect on the cypher text generation. The hash function is a one-way function. You can't decrypt it. When you hash something you create what's called a digest. There are these different types of encryption algorithms called symmetric and asymmetric. It just means you have the same key for encryption and decryption. Symmetric. I have crypto examples here on this slide. I'm going to be talking about five different groups of routines. Cyphers, hashes, H-maks, key agreement schemes and a password key based function. The code that you see here in the coming slides, very, very simple example code. I have a 4-hour workshop today at 2:00 p.m. called, for lack of better naming at the time, crypto for hackers, the workshop. Probably the worst possible name I could come up with. It's from 2:00 to 6:00 today. Anybody have a seat? Excellent. One brave soul. So in that four-hour block what we're going to do, I have eight exercises and I'm going to code with you for four hours in C++. We are going to write code that implements all of these routines and we're going to be sending these across the network and even simulating man in the middle attacks. All in the span of four hours on Linux and Windows and the code actually compiles too, which is a great thing. So for that workshop I have written something called demon crypt. All it is is a light weight C++ class wrapper around some of the more common C++ libraries. Die Monday crypt is -- demon crypt is a user-friendly wrapper that makes encrypting a 2-10 line affair. We'll be going through all this code later today. I'm most excited about coding with you guys in the workshop. I'm a coder, I love programming. I'm excited. So T-shirt for you. Let's talk about some of these routines. The cypher just encrypts or decrypts, right? Cryptography has been around for thousands of years in some basic form or another. We're going to be implementing what's called Caesar's cypher, by which you shift characters over by any number of spaces. Totally no one is going to break it especially since I'm limiting the amount of shifts, so there's no way we're going to crack this. So Caesar's cypher has been around. I probably read it on Wikipedia, so maybe it's true. There was a quote about Caesar fighting a war and he sent a message to his wife at the time. In the message he used Caesar's cypher and when she had decrypted it, the message basically said on the front be back in a month, don't bathe. So he used crypto for that very sensitive message to his wife at the time. I don't know if it's true but it's a good story. Cyphers, we're going to be concentrated on the AES candidate cyphers. In 1997 NIST sponsored this whereby people submitted them for the new standards. And there are a bunch of submissions and it was narrowed down to just five. You can choose which one you want. That was, I always pronounce this wrong. Rain Dale, I always -- my pronunciation is terrible. But what became the AES, serpent, two fish, RC 6 and Mars. And we're going to be using all of those today in the hacker class. The candidate algorithms can have 128 bit keys, 256 bit keys. So when you're dealing with cyphers, not only are you dealing with a key input, but you've got to choose a key size. The larger the key size, ideally the less probable collisions and brute force hacking attempts will be. It all depends on vulnerabilities and the actual algorithm itself. If the vulnerability is found in the algorithm itself key sizes aren't important. That's really the goal of a lot of the work. Is that if your information is encrypted, it would take more than a lifetime to brute force crack it, it's probably good enough. What most people don't realize is that it's not a 1 or a 0 for crypto. It's an analogue value. There's a decimal point in there. It's all up to what your crypto graphic needs are. If you don't need the most advanced military strength crypto because all you're doing is sharing photos with your family, then by all means don't implement and use the most advanced crypto. So there's a scale there that goes back and forth. That's one reason that makes crypto so much fun because we don't always have to choose one or the other. Here is a really simple example of crypto using AES with demon crypt. It's three lines a code. That's it. You create an AES object with cypher, you call set key and you set your key, it be a string, whatever you want. And then you crypt. By the way, demon crypt is MIT open-source license and that's my gift to you guys because it's been helpful to me and I wanted to return this to you. I wanted to make crypto easy not only to understand but to use. The next topic we want to focus on is going to be hash functions. Now, as we mentioned before, a hash is simply a one-way conversion. So there's no decryption. Now, you take your message and you convert it into a digest. The idea behind hashes is they should be practically impossible or infeasible to reverse engineer. There are good hash algorithms and bad algorithms. Anybody here have MD 5? What do you think? Good hash algorithm? Sucks. So, thank you. The three people who raised your hand are correct. Thank you for the gentleman who screamed it sucks. Even better. There are good hash algorithms, there are bad hash algorithms. It's not a 1 and a 0. Even MD ahas its place in the world. It's stild used in H-max. It's not usually used a lot in normal hashes. You still see it. The reason being it doesn't need to be crypto graphically secure. You just need an authenticity measure to know that the file hasn't been modified. So what are some usages for hash functions? We talked about one, file checks. You download a file, and there's going to be a hash there. You download the file, you reverify the contents of the file and you make sure that the hash that I'm reporting and the hash that you're reporting match. If they don't, something is wrong. Either I fucked up again, which I've done a couple times because it was 3:00 a.m. and I uploaded a file or somebody has hacked my website and exchanged my zip for another zip. Verifying file integrity is important, but there's also hashing of passwords. We have a lot of awesome pass word dictionary is available -- dictionaries now that have extended our rainbow table, because of insecure security practices and because companies have not hashed passwords in their databases. The companies I love are the companies who implement poor security measures except when my data is in their systems. When they're hacked and a list of a million or two million passwords are released, this is a real word indication for what people like us create for passwords. Having that real-world data is essential. Hashing that password in your database is a common thing you can do to prevent these types of leaks. So some algorithms we talked about. Sha, sha 2 and sha 3. It's interesting to know a few years back, I forget the exact date, 2007 maybe, that NIST sponsored a competition looking for the next generation for hash functions. They thought it was a good idea to be pro active. I love it when our government starts thinking that we figure that all of our stuff is going to be hacked soon, so let's stay ahead of the curve and let's do another call for papers. That's what happened with NIST. With hash functions there are concerns with collisions. There are also concerns with rainbow attacks. They're merely large, large tables of precomputed hashes that map up to existing passwords or key things. So basically if you've got a list of passwords that have been hashed, you can go through and you can scan using rainbow tables which are precomputed hashes and reverse engineer the password by -- knowing the hash. It's a call name but all it is is a table of precomputed hashes that are really unsalted. There's also this thing called length attacks. That's where you add to your hash length extension is a powerful hash that can be done and why people use H max for guaranteeing data integrity and authenticity. How can you hash whatever you want in your code just by using demon crypt? It's really easy. You create an instance of MD 5 or sha 1 and you simply call the compute function. I really tried, I mean, if you want to take the code and make it much more functional and beautiful, I would love to host it. So if you want to modify it. I will uploading it to my repository in the next week with full access if you want to modify and make it awesome, that's cool by me. That's all it takes to use demon crypt. The output or the digest output between the two is varied. You see the MD 5 has fewer inputs. So once again a longer digest, more crypt graphically secure, assuming that the algorithm hasn't been compromised. I alluded to this earlier, the next thing on the list is H-max. What an H max is a hash based message authentication code. Under the seams it uses a hash and it applies a key. So what's different between an H-MAC and a hash is the hash can be salted. You may ask what's a salt. When you're hashing a salt, all that means is that you're adding an extra string in the input. So you're varying the input before it gets sent into the hash function. What an HMAC does is it guarantees or trees to guarantee authenticity and data integrity. This talk is probably too short to get into the benefits. I'm going to talk about it in the workshop. What authenticity is is an indication to me as I receive a message that this came from the intended origin. So I somehow know that this is coming from at least the point of origin. I don't know it's trusted, I don't know if the person that sent it is the person expected to press the enter key. At a minimum they have same access. Data integrity is the idea that the message hasn't been tampered in pay load. An HMAC allows us to shove a key in and generate an output that guarantees those factors. Building blocks for other applications such as my favorite crypto routine right now, in fact that would be -- that is a lot of text over there. I'm easily distracted by free-flowing text. It's a fault of mine. So one of my favorite crypto routines right now I've come to fall in love with, it can use under the covers an HMAC. It's a really, really cool routine that allows you to take any sort of text or input and create a specific sized key or out put as a result that can be used for a key to a cypher. So HMACs are used under the covers. You can use all the normal hashes in your HMAC. Here's an example of using an HMAC with demon crypt. Look familiar? It should. I wanted it simple. I didn't want to there I about crypto when I was writing demonsaw. You set the instance, call compute and you're done. Crypto doesn't have to be any more complex than this. Same thing, you create an object, set the key call compute and we're done. Open source and free. The way everything should be. PBKDF, we finally got my favorite. I even found a cute little salt guy who is kind of dancing around. But what this is, as I mentioned before, this allows us to take a pass phrase or a bunch of bytes or any set of arbitrary data and shove it into the input, add a salt and basically derive an output that can be used to input for a cypher. So a lot of times you'll say hello, my name is Eijah and I want to use this to create a key. Why don't you just use hello my name is Eijah is the key. Because cyphers are very mean. What do I mean? They only like keys of certain input size. So an AES 128 will only take an AES 128 key. You try to give it 127 bits, that's a bad example because you can't do that. But if you try to give it 120 bits instead of 128 bits, it's just not going to work. So they like precise key input for the number of bits that they're going to use internally. So you use PBKDF 2 to generate a precise set of bytes. Third secret derivation is really a powerful output. In addition, PBKDF 2 allows us to add iterations. You can start iteration one which is not secured or you can go to 100,000 iterations. I believe that the NIST standard last I checked was 100,000 iterations or 10,000. I can't remember. I use 100,000 normally. I think that's the ideal standard for PBKDF 2 right now. So you can iterate multiple times in your algorithm. Computationally it's more intense, which is great for crypto. We don't want a super easy and highly performing crypto routine because it's going to be easier for the hackers to brute force. How does this look? A little more complex but not too much. The name of the class is a bit bizarre. I probably could use your help cleaning up. I think I've removed the PKCS 5 prefix by the way. You set the salt and you call compute. And that's it. And that is how -- and you can also set the iteration count too, but that's how it's done. Four lines to take a pass phrase, set the count, set the salt and generate the output. Four lines of code is all it takes. Finally, we're at our last cryptographic routine. And the good news is we are right on time. Key agreement schemes. We're going to talk about something called Diffie-Hellman. You probably heard of the paint mixing analogy, right? This analogy scares the shit out of me. The last thing I want to do is get somebody to randomly mix paint colors. The reason why we need key agreement schemes, and this is based on asymmetric encryption, this will generate a private and a public key, and the end result is to generate a shared key between two disparate parties without any sort of key exchange. So what happens is you generate three things. You generate a base, you generate a prime number, and you generate a public key that is sent is cross the wire. I generate these things as well as a private key that I hold on to and I send these to you. You take these as input and you send me back your public key. Meanwhile, you're mixing my public key with your private key to generate a shared key. When I receive your public key back, I mix it with my private key to generate a shared key and our shared keys, because of the magic of math and prime numbers and all that good stuff results in being the same key without us exchanging it. Dippy hell man in a lot of technologies we used today. Anybody know reber? TLS uses it as well. SSH uses it. DPNs use it. It's a great way for two parties to get a shared key and fast. This can be computationally intensive if the prime number bits are high. And we'll talk about that in the workshop more. If you have a low number of prime bits, like 128 that's very, very insecure, what that means is that your ability, the ability of collisions to happen is more probablistic. So if you generate a larger prime number, like 3072 bits, then the chance of collisions over T time is going to be probablisticly lower. But to generate a 3072 bit prime takes a while depending on your computational power. I can generate on my four--year-old laptop, I can generate a 1024 or even a 776 or even a 17176 bit prime in under 15 seconds. I've got a fairly slow laptop with only 8 gigs of memory. But when I bump it up, it can take a minute or even up to two minutes. So ideally, the down side to this is the prime number generation. You can save out your prime and use it. You can imagine that has some other security concerns as well. The end result of this is Diffie-Hellman is a powerful technique and today we are going to be implementing code and not only does a shared key creation across multiple clients but we're going to take the key, pipe it into PBKDF 2 to create a specific key length, feed it into a algorithm of choice and encrypt secure messages back to the secure sender all today in just one of the exercises. It's going to be a lot of fun. So how does this look? It is a little bit more complex than the other examples. I won't go through all of it here, but what we do is create our base, we create our prime and our public key. We print those out and sent those out and returns to me a public key meanwhile generating his or her shared key. Then I receive his or her public key back and I feed it into my algorithm and generate the shared key without actually exchanging it. Even though this was a little bit more complex code, it's still about 10 lines of functional code to do a key exchange. Has anybody tried to do a Diffie-Hellman key exchange on your own? It is fucking nuts. It is painful, right? This is way better than doing it manually. For those of you who raised your hands, you're very brave, too. The next two slides, if you do a 2048 bit prime, it looks scarier. Even if you don't read through the numbers. It just looks scarier than this. But obviously more secure. So those in a nutshell are the five different crypto routines. What I want to do right now, now that we've reviewed these algorithms, I want to talk a little about unique ways that we can use these cryptographic building blocks to create our own secure applications. As you know I'm the founder of demonsaw and just last night I released demonsaw 2.0. I made it for us to secure our communications and secure our content. There's no infrastructure, no logging. I don't mind bit coins on your computer. I don't do any of this. I don't even know who uses it, obviously. I'll give you $10 million if you tell me how many people use it, I would not be able to take your money. I have no clue. Demonsaw 1.0 was launched last year at Def Con 22. It was a little buggy. Thank you for helping me test through some of the bug fixes. I'm the only person who writes the code and I do that part-time when I'm not working at rock star. It was a good first step. It was C sharp, windows only. It had some bugs. I tried, I did well and learned a lot from it and thank you for your patience and your understanding. I set out after Def Con with goals. I want it to be everywhere. I want it to be on Linux, I want it to be on raspberry pie and everywhere I want it to be. Somebody asked I think he was drunk you because I was drunk, he asked me when is it coming out on Solaris and I was like, I don't know. That's a great question. And please don't ask me about BSD either. Perhaps not everywhere but we're getting closer. I wanted to simplify the interface, increase security and add features that you guys requested. The promise with demonsaw and clearly you should still not trust me. But the promise I'm making to you is it's 100 % free, no ads, not even on the website, no call-backs, no loggings, no installs, no malware, no bundled software, no tracking, no logging. I'm not going to sabotage your CBU and mine bit coins. There's no bullshit. When you download demonsaw you get an application that allows you to download it your way, fuck off NSA. Thank you. So some of the features in 2.0, I'm not going to go through this list. There's cool features. What I want to talk about is something called social crypto. Social crypto is a new way of thinking about security. This is really the core of demonsaw 2.0. It's a new way of thinking about security. Security is a lot like water. Security is a lot like water in that it should be free, we had need it to survive and companies want to package it up and sell it back to us at a premium. What social crypto does is it favors individuals in small groups. It doesn't require anybody else. No infrastructure, nobody. Your data sits on your machine and your machine only and you share it with whomever you want. There's no private public keys to share, there's none of that. There's no peer-to-peer. It's built on a foundation of traditional security. Contextual awareness via shared experiences and knowledge is converted into URLs or assets that are located somewhere in the world, HTML pages, PDFs, images. And instead of using a pass phrase to feed into a hash, we use the contents of whatever is at that URL. It can be local, it can be remote. So we together, if we want to get in a shared group, all we do is share a URL or multiple URLs. So let's say demonsaw.com. We could all get into a secure group right now that nobody could hack simply by specifying demonsaw.com and tweaking a couple of programers. We use the binary contents in order to feed that into input. So we map this contextual awareness into binary form and this is used as entropy into crypto routines. This concept is a little bizarre. It's new. But instead of using passwords and user IDs and public and private keys, because even PGP requires contextual awareness. I have to give you my public key. So if we all wanted to e-mail each other, we would all have to swap public keys. So there's contextual awareness of where my key is stored. This is a new way of thinking about security. And it's not roll your own crypto. We use all the traditional algorithms and cyphers and routines you saw today. We don't do anything different. The only difference is we source the entropy through binary data that we acquired from things that are already online. That's the key to social crypto. Right now I want to give you a quick demo of demonsaw 2.0. It's available to download now. I know we're running out of time. But last year I screwed up the demo. This year I was hoping not to screw up the demo. By the way, there is a video tutorial that is narrated by a very professional sounding voice that can walk you through this. This router can be a message router or data router or both. The way demonsaw works the message routing is kind of like torr in that it's separate. So you can have a message router or you can have a message router somewhere halfway around the world. You can route your data any way you want. You control this. How do you set up your message router? Click enable and it's done. We now have a demonsaw network running right here locally. Now then you add a client. Because I love star trek, I'm going to call this Pickard. I basically connect. I'm going to add another client here and call it Riker. And I'm going to choose for Riker. And I'm going to connect. So what we've done here is simply, by specifying my download location and my IP address, these two clients are connected to a secure network. This is the bare minimum to get into the game. Pickard can go over here. The resolution on these projectors are terrible by the way. In case you're wondering why doesn't he increase the resolution. I tried. Pickard has a couple of folders that he wants to share. Riker goes okay, I like that. So I'm going to do a search. I'm searching for AC/DC and I want to download Highway to Hell. So we are now in a group, it's not as secure. It's default security. So let's make it more secure. We go to the group tab. What I can do is I can add a URL. In this case I'm adding demonsaw.com. Oh, shit. I'm not connected to the network. Oh, well. All right. A local file. So if we were connected to the network, then we could simply do that. Pretend, if you had a network here and I had typed demonsaw.com, it would have gone, fetched whatever was at the home page, grabbed all the bits from that HTML page, pulled it down as entropy and showed me here the size. Instead we did the same with a local file. It could be a PDF, it could be an image. It doesn't matter what it is. Now, I am now in a completely different group than the Pickard. And the router will show that here. Riker's group is a different hash value than Pickard's. If I go over to Pickard and switch his group and I give him the same group, then he will now be in the same group as Riker. So by using the entropy that's contained within the resource that we're referencing, we are deriving cryptographic signatures that we need into algorithms to generate our unique group signature. So this is great. What if somebody finds the logo .PNG. It's just an image. So let's say everybody here knows about that. What you can do is you can modify some of these parameters. You can modify the entropy. I'm only going to use 50% of the entropy. Refresh. Now they're in different groups. Simply by me saying I want to use half the bits instead of all the bits, I've already kicked myself into a new group. Pickard doesn't know about that. He goes over here and says oh, I've caught on, 50%, done. Now they're in the same group. I'm running out of time, but you can tweak the cypher, you can tweak the bit size, you can tweak the hash. There's a lot of different things, the iterations for the PBKDF, the salt, et cetera. All these things can be tweaked to set up your group as securely as needed to share your content. And you can also add multiple -- I can add multiple entries here. So you can extend this. Simply by remembering three or four URLs, you can set yourself up with a cryptographic signature that is likely infeasible for somebody to know the unique ordering of these URLs and be able to brute force your key. Here's the thing, you're saying you're using multiple layers of encryption. There's a lot of studies that make it less secure, yes if the entropy is the same. You generate new copies of entropy here. So you're using multiple encryption with unique entropy, unique cypher, and potentially unique iterations all within your control. No government, no companies, free. This is demonsaw and I hope you like it. (Applause.)uhm i just gotta do a closing for two minutes, i swear, just two minutes, i promise, you have? ok