<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by ofer shmueli on Medium]]></title>
        <description><![CDATA[Stories by ofer shmueli on Medium]]></description>
        <link>https://medium.com/@ofershmueli?source=rss-e0468f1e1129------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*qQnpKnK6E-fSGaOk9SYbcg.jpeg</url>
            <title>Stories by ofer shmueli on Medium</title>
            <link>https://medium.com/@ofershmueli?source=rss-e0468f1e1129------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 01:44:29 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ofershmueli/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[To Mesh or Not to Mesh?]]></title>
            <link>https://ofershmueli.medium.com/to-mesh-or-not-to-mesh-51b25c7d1052?source=rss-e0468f1e1129------2</link>
            <guid isPermaLink="false">https://medium.com/p/51b25c7d1052</guid>
            <category><![CDATA[wi-fi-6]]></category>
            <category><![CDATA[wi-fi-network]]></category>
            <category><![CDATA[mesh-networks]]></category>
            <category><![CDATA[amazon]]></category>
            <category><![CDATA[network]]></category>
            <dc:creator><![CDATA[ofer shmueli]]></dc:creator>
            <pubDate>Tue, 01 Feb 2022 05:56:51 GMT</pubDate>
            <atom:updated>2022-02-01T05:56:51.985Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/960/0*rsOx3Jvv5tMqO0mJ.jpg" /></figure><h3>If you are suffering from Wi-Fi coverage issues, then you probably heard someone suggesting “ Go and get yourself a Mesh network “</h3><p>The next thing you will do, is to look for a mesh solution in amazon or your local ISP, and you will be overwhalmed with the number of solutions , promising, not only great coverage but also the lastest Wi-Fi 6 standards</p><p>There are dozens of great mesh solutions in the market <a href="https://amzn.to/3ISQtER">https://amzn.to/3ISQtER</a> , that will help you overcome bad connectivity issues and signal loss ( spreading your Wi-Fi signal between several nodes )</p><p>This article will not help to choose the right Mesh Network ( Which is a great, fast and reliable solution in most cases ).</p><p>here we will do somethong else , even if you have a single Wi-Fi Base that takes care of your house, you can learn where to place it, so that it will serve you and your family in an optimal way.</p><h3>If you ever wondered where to place your wi-fi router, to have good coverage but also increase your speed. then this article is for you</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TKs7O2YLT2srqSC_Q5eweA.png" /></figure><h3>Site survey for dummies</h3><p>The term Site Survey refers to the art of placing a Wi-Fi base station or a node in different locations around your office, home so that, no dead spot will be witnessed</p><p><strong>How do you perform a manual site survey?</strong></p><p>No special hardware needed, only your smartphone and wi-fi router.</p><p>A good site survey will make sure, that signals that spread in the air, will have the best chance to hit your home appliances, with minimum loss.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*YQ-bhdZMh-gI9txH" /></figure><h3>Let’s start</h3><p><strong>The first step is to determine a threshold that will be enough for all your needs is -65dBm</strong></p><p>-65d dBm is a quite balanced signal quality measurement, which will be suitable for most apps, either social media and video streaming ( assuming that you have the bandwidth for it ) <strong>signal quality</strong>, determines only the quality of the signal, yet if you are limited with bandwidth as in the case where your other members in the family consume lots of data, then you have another problem.</p><h3>The manual process is as follows</h3><p>Place your Wi-Fi hardware at the edge of your office or home space.</p><p>Then walk away with your smartphomne and a wifi analyzer app ( just pick one of the wifi analyzer apps available on your play or apple store , I usually do that using <strong>Netspot on my Mac, but you can also use your smartphone and a wifi analyzer app </strong>)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*7aSO-BVgDxTfEGL9.jpg" /></figure><blockquote><strong>Take into concern that there are 2 types of ways to measure a signal:</strong></blockquote><h3>The passive way and the active way</h3><p><strong>In the passive scan</strong>, you are just listening to the signal, it’s intensity.</p><p>That is quite OK for a survey, but professionals usually prefer to make an active site survey where they interactively moving data as they listen to the signal</p><p>Keep moving and get to the place where your wi-fi analyzer app says -65dBm</p><h3>The signal measure also known as RSSI (received signal strength indicator ) is a measure that you see in your smartphone and on your laptop whenever you connect to a wifi network, It’s the received power, the signal amplitude as our wireless card circuitry senses it.</h3><p>Your wireless router broadcast signals at a power level, usually 20dBm, which is 100mw, if you walk one meter from it, the signal will decrease following physical phenomena such as free space path loss and the inverse square law ( but that is for another article )</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*sR8oJ6w3VrWWo9gW" /></figure><p>Once you found the -65dBm signal measure, you have now found your wireless router placement, signals are bi-directional, so now you know that you can place your wireless router, at the -65 dBm location and just for a final check, go back to the beginning of the office with your phone and check to see that you are on -65dBm</p><p>The next thing to do, is actually walking around with your Wi-Fi app, and click around every few meters, and guess what, you’re actually sampling the signal, to see the perimeter where -65dBm is still valid.</p><p>Where it reaches -70dBm, you know that this is the end of your Wi-Fi signal</p><h3>Then we do that again, and now from the opposite side of the office</h3><p>If you plan to have a second access point, you do the same, with your second access point, but don’t forget to have an overlap between the 2 areas.</p><h3>How much overlap?</h3><h3>It is good to have a 10 dB minimum overlap</h3><p><strong>That means that when you walk in the area of access point 1 when you reach a -55dBm, you will start to hear access point 2 at -65dBm</strong></p><p>Now remember, this is just a coverage model, you should also take into concern <strong>Density</strong></p><p><strong>If you get to the other side of the room and there are 60 people there, you may need to place several Wi-Fi nodes to handle the number of people, remember, More people, More air time, More air time, Less throughput for each</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=51b25c7d1052" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Cracking codes with python]]></title>
            <link>https://ofershmueli.medium.com/cracking-codes-with-python-d91ba9fb4b0f?source=rss-e0468f1e1129------2</link>
            <guid isPermaLink="false">https://medium.com/p/d91ba9fb4b0f</guid>
            <category><![CDATA[cryptography]]></category>
            <category><![CDATA[book-recommendations]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[python-programming]]></category>
            <category><![CDATA[python3]]></category>
            <dc:creator><![CDATA[ofer shmueli]]></dc:creator>
            <pubDate>Wed, 13 Oct 2021 12:29:33 GMT</pubDate>
            <atom:updated>2021-10-13T18:55:40.949Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/378/0*EcNNTKayqrdi9quT.jpg" /></figure><h3>Great book for anyone who wants to learn how cryptography works, and how to implement the knowledge using python</h3><p>Im a big gan of cryptography and when it comes to transposition ciphers , substitution ciphers and the classic caesar cipher . you will find me hooked</p><p>That is why i got excited reading <strong>“Cracking codes with python”</strong> <a href="https://amzn.to/3FHkR45">https://amzn.to/3FHkR45</a> one of the best books that does both. teach you the theory behind the classic and modern ciphers and build the foundation to deliver that into a true python script/program</p><p>The theoratical part is composed of the basics ( shift cipher as caesar cipher ) , double encryption . key space , moves on to transposition and substitution and from there , it discusses the most important elements that you need to understand in order to program : integars, floating point units, math operations and storing them as variables</p><p><strong>And this is only the starting point</strong></p><h3>Cracking codes with python is a fantastic book for anyone who wants to enrich it’s crypto skills with functional tools</h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d91ba9fb4b0f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ARP ( Address Resolution Protocol ) demystified]]></title>
            <link>https://medium.com/geekculture/arp-address-resolution-protocol-demystified-63a88d5f8c35?source=rss-e0468f1e1129------2</link>
            <guid isPermaLink="false">https://medium.com/p/63a88d5f8c35</guid>
            <category><![CDATA[arp-protocol]]></category>
            <category><![CDATA[fortinet]]></category>
            <category><![CDATA[firewall]]></category>
            <category><![CDATA[network-security]]></category>
            <category><![CDATA[tutorial]]></category>
            <dc:creator><![CDATA[ofer shmueli]]></dc:creator>
            <pubDate>Thu, 19 Aug 2021 08:59:53 GMT</pubDate>
            <atom:updated>2021-08-19T18:37:18.759Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*cknGucDTmBBs5IQ0" /></figure><p><strong>Whenever a host needs to contact another host, either in its subnet or in another subnet or maybe on the internet, then it sends an ARP ( Address Resolution Request)</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*2a9KUHMYBNJsRZrg" /></figure><p>Screenshots were made on my FortiGate 60F <a href="https://amzn.to/2W1cHkQ">https://amzn.to/2W1cHkQ</a></p><p>As the name suggests, An ARP request that is sent, actually asks <strong>“Who has the IP address that I need to contact”</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*TodnZyNCcNSgfoIc" /></figure><p>The request is being sent in the broadcast domain or sometimes it is being relayed to another subnet, and the host that has the IP address sends back its MAC address</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*rx2xIn-WkpmIbViG" /></figure><p><strong>The MAC address is crucial in crafting the packet itself. It is one of the most important functions in IP routing.</strong></p><p>On the other side, Your FortiGate firewall has an ARP table, which holds the binding between the different MAC addresses and the IP addresses on different interfaces. So let’s take a deeper look at the ARP table</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*0FsVrdZN5Qebf1rx" /></figure><p><strong>Sniffing ARP</strong></p><p>Let’s start by examining ARP requests that are being sent from our LAN</p><p>To do so we’ll use the <strong>“diag sniffer packet”</strong> which is a FortiGate Wireshark way to capture the packets that travel between the different interfaces and examine what is happening.</p><p>When we examine packets, we can use filters, to capture specific traffic.</p><p>Here we will not use any filters , only port number and verbosity level</p><p><strong>“ Diag sniffer packet port2 none 4 “</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*FFSnN5z3jwT3elUf" /></figure><p>Press enter and you can see the different ARP requests <strong>“who has that IP address”</strong>.</p><p>The IP address that is requested is the gateway address.</p><p><strong>Now let’s look at some other commands.</strong></p><p>The first command that you can use is the:</p><p><strong>“get system arp”</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/988/0*leejV4hIjC3V1Se0" /></figure><p><strong>Here you can see, IP addresses, MAC addresses, and associated interfaces.</strong></p><p>The second command will show the ARP table cache</p><p><strong>“diag ip arp list”</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*zaa3XTgc22w52ZjX" /></figure><p>As stated in the Fortinet documentary, The default ARP timeout value is 5 minutes (300 seconds) and can vary depending on the state of the ARP entry and the objects that are using. using the command, We can see the ARP cache, the different states ( ARP was received, The device is not supporting ARP…).</p><p><strong>Our third command is</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/762/0*rbDbHn4ijeW_SQh7" /></figure><p>We start with “config system global” following that, we will use the set up maximum entry where we can enter an integer with the number of entries.</p><p>Moving On, There are times where you need to delete the whole ARP table.</p><p>We will use the “execute clear system arp table”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/868/0*12559z5ZJBejEoAd" /></figure><p>So let’s just look at the system ARP table. And Yep, we only have one ARP table, which its age in minutes is zero. So it was just received now.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/974/0*W92cDK71-YUAuGnJ" /></figure><p>The last command that we will look at is the “config system arp table”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/816/0*_hG0EXu1hpzxTVTR" /></figure><p>Now we can add up specific IP addresses and bind a specific MAC address according to our needs. As the interface to port two.the IP, the MAC address and associate them together.</p><p>Learn more about how to administrate your Fortigate Firewall in my book <strong>“ Fortigate firewall admin pocket guide “</strong> <a href="https://amzn.to/37Zobbn">https://amzn.to/37Zobbn</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=63a88d5f8c35" width="1" height="1" alt=""><hr><p><a href="https://medium.com/geekculture/arp-address-resolution-protocol-demystified-63a88d5f8c35">ARP ( Address Resolution Protocol ) demystified</a> was originally published in <a href="https://medium.com/geekculture">Geek Culture</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The new Apple iPhone WiFi vulnerability]]></title>
            <link>https://ofershmueli.medium.com/the-new-apple-iphone-wifi-vulnerability-3dcb5a574c35?source=rss-e0468f1e1129------2</link>
            <guid isPermaLink="false">https://medium.com/p/3dcb5a574c35</guid>
            <category><![CDATA[iphone]]></category>
            <category><![CDATA[apple]]></category>
            <category><![CDATA[ios]]></category>
            <dc:creator><![CDATA[ofer shmueli]]></dc:creator>
            <pubDate>Tue, 06 Jul 2021 17:42:32 GMT</pubDate>
            <atom:updated>2021-07-06T17:42:32.014Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*emUvUP78Zs89AXZRGggYrw.png" /></figure><p>Let’s make this story short. Specific strings on your wireless SSID can make your iPhone freeze. It reminds me how <strong>cross-site scripting</strong> can do harm if your web app doesn’t sanitize the input and treats it as a code<br>Here is a short video I made. See what happens when I connect to that SSID</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FOCs6i70O3rc%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DOCs6i70O3rc&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FOCs6i70O3rc%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/5413895653be6c5aefeeb3461cc78955/href">https://medium.com/media/5413895653be6c5aefeeb3461cc78955/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3dcb5a574c35" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Capture Packets on Your Firewall]]></title>
            <link>https://ofershmueli.medium.com/capture-packets-on-your-firewall-6b2809e80fef?source=rss-e0468f1e1129------2</link>
            <guid isPermaLink="false">https://medium.com/p/6b2809e80fef</guid>
            <category><![CDATA[wireshark]]></category>
            <category><![CDATA[firewall]]></category>
            <category><![CDATA[networking]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[infosec]]></category>
            <dc:creator><![CDATA[ofer shmueli]]></dc:creator>
            <pubDate>Tue, 27 Apr 2021 13:20:39 GMT</pubDate>
            <atom:updated>2021-04-27T13:20:39.584Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*p2Hs3_Y9rAIUI6QP" /></figure><h3>You can capture (sniff) packets of any traffic that travels on your FortiGate firewall using the command line. Very similar to TCP Dump</h3><p><strong>Why do we need to do that?</strong></p><p>It allows you to have a low-level view, up to the hexadecimal representation of the different packets</p><p>You will see, if packets travel the way they should, if they are dropped and where. It is one of the best diagnostic tools available</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*fyyka1dBKDUmyaQk" /></figure><p><strong>To do that, you will use the following syntax:</strong></p><p><strong>“diagnose sniffer packet”</strong></p><p>Followed by the interface you want to listen to, different filters, verbosity levels, and more.</p><p><strong>So let’s look at some of the best filters using the diag sniffer packet.</strong></p><p>Although I had recently bought the new FortiGate 60F firewall <a href="https://amzn.to/3dNUIon">https://amzn.to/3dNUIon</a> all the screenshots were taken using a Virtual Machine, running the latest firmware fortiOS 7.0</p><p>To capture packets on different interfaces, different ports, different protocols, you will need to open your command line, and the syntax goes like that:</p><p><strong>“diag sniffer packet”</strong> that’s the basic, default syntax.</p><p>From here you can choose your interfaces you can choose either port one, or any other interface. You can also choose <strong>“any”</strong> which will capture traffic on all interfaces</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*2IDbafR7DUTkEkEl" /></figure><p>We will choose<strong> any interface</strong></p><p>Following that, you can filter the traffic. filtering the traffic can be on the specific port ( port 80, 53…) traffic protocols ( TCP, ICMP…), source destinations. packet size, you can use combinations such as “or”, “and”. you can do just about anything</p><p>Following the filter, you have the verbosity level. let’s now choose none for the filter. And let’s choose the different verbosity levels.</p><p>there are several verbosity levels. Let’s choose the first one and see what we get Following the verbosity level, you can choose the packet count, so let’s just choose 10 packets.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*dvwq5igmqalSjhrN" /></figure><p>Press Enter. And here we have 10 packets, showing the IP headers, showing the protocol and you can also see the different flags, the TCP flags, the sequence number, and so on.</p><p>So let’s do the same now just change it from verbosity level to 2.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/934/0*v9qdUY0dEsdXHPZA" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*kpkMnDTBLyg2G9VE" /></figure><p><strong>In verbosity, level two, you have the hex representation of the IP packets. There it is, and you also have the ASCII representation.</strong></p><p>Now let’s just use verbosity 3.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/946/0*K9i3Zw4T77uQM3Fa" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*38ZeLNWF1oGw4aoh" /></figure><p><strong>Here, you also have the Ethernet headers in hexadecimal.</strong></p><p>And now let’s choose verbosity, 4 ( which I always use ), And in verbosity 4, (very similar to verbosity 1 ), you also have the interface names (“port 1” port 2” ) which is very helpful, in troubleshooting connectivity</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*hnN6bHzkdDHZYfY7" /></figure><p>That was very basic now let’s start to use filters.</p><h3>Filters</h3><p>Our first filter will help us to capture traffic that is happening on port 80.</p><p>If you want to capture specific traffic to specific ports, use the port and the number. Alright, so let’s just use that.</p><p>The syntax is <strong>“ diag sniffer packet any ‘port 80’ 4 10 “</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-IMtxFffdcBFxB7z" /></figure><p><strong>And we can see that we’re having traffic that is destined or coming from Port 80.</strong></p><p>The next filter is <strong>“host”</strong> if you wish to capture specific traffic from a specific host, you will use the host keyword and the IP address. So in my case, I have a Linux machine at the 10.0.5.7 IP address.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*r6tYXmEOGeBRWaJd" /></figure><p>I’m seeing traffic that is coming from 10.0.5.7 or destined to 10.0.5.7.</p><p>If I need to filter out specific sources or destinations, I can use the “<strong>src”</strong> keyword 10.0.5.7. So here we can see traffic that is coming from that specific source.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*fB9KGSX9ZbylbhOL" /></figure><p>And if I need specific destination traffic, so I can use <strong>“dst”</strong> and let’s choose my gateway 192.168.1.1.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*yT7lxIuo0pfCofmN" /></figure><p>If we want to capture different protocols, we can use the name of the protocol on the filter. So let’s catch the <strong>ARP</strong> protocol, so we will actually write down ARP and we can see different ARP traffic.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*4nmtiaQRsOw9EtTE" /></figure><p>If we want to catch or to see if there are <strong>ICMP</strong> packets sent. Then we can see and yes, there we have different ICMP packets that are traveling towards their destination.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*kDKe-JQS874TpAtd" /></figure><p>And now let’s catch TCP protocol with the different flags, we will just write down “<strong>TCP”</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*TfsWxElzbckYLR1H" /></figure><p>at the beginning of this article, we have said that we can capture specific port traffic. we can also catch a range of ports using the keyword <strong>“portrange”</strong> and a hyphen between the ports, so let’s capture traffic from Port 80, up to Port 443.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*6t4wKZ0zy2r0T_tF" /></figure><p>If we want to catch traffic with different <strong>packet sizes</strong> ( less than or greater than ) we can also use that expression in our packet capture So we can use less than 64 bytes in our example. And we will catch traffic whose packet size is less than 64 bytes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*hWIZ69KzubIng1QV" /></figure><p>The last thing is when we want to use combinations as <strong>“and” “or” </strong>so let’s catch traffic to a specific destination port by using “and”</p><p>Our source is 10.0.5.7 and the destination port 80. And let’s use verbosity 3 with a packet count of 10 packets.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*WgzN4gU08OPropKQ" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*TKWGW_9XOthV919w" /></figure><p>We can see that we have traffic that is destined for Port 80. We’re using verbosity 3, and we can also see the different hexadecimal representations of the packets themselves.</p><p>You can find more in my “<strong>Fortigate Firewall Diagnostics Packet Guide”</strong></p><p><a href="https://www.amazon.com/Fortigate-Firewall-Diagnostics-Pocket-Guide-ebook/dp/B08X4Z923K/ref=sr_1_1?dchild=1&amp;keywords=fortigate+diagnostic+pocket+guide&amp;qid=1619295503&amp;sr=8-1">https://www.amazon.com/Fortigate-Firewall-Diagnostics-Pocket-Guide-ebook/dp/B08X4Z923K/ref=sr_1_1?dchild=1&amp;keywords=fortigate+diagnostic+pocket+guide&amp;qid=1619295503&amp;sr=8-1</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6b2809e80fef" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Factorial Permutations Using Python]]></title>
            <link>https://ofershmueli.medium.com/factorial-permutations-using-python-b4941178d186?source=rss-e0468f1e1129------2</link>
            <guid isPermaLink="false">https://medium.com/p/b4941178d186</guid>
            <category><![CDATA[cryptography]]></category>
            <category><![CDATA[python2]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[math]]></category>
            <dc:creator><![CDATA[ofer shmueli]]></dc:creator>
            <pubDate>Wed, 07 Apr 2021 05:18:35 GMT</pubDate>
            <atom:updated>2021-04-07T05:18:35.872Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Yo8GCMd7qUdfu5Ux" /></figure><p><strong>We use the factorial function to multiply the whole number from a chosen number down to one.</strong></p><p>So for example, 4 factorial (4!) is <strong>4 times 3 times2 times 1</strong>, which is equal to 24.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/246/0*xmPVGdNPS5zV8bEx" /></figure><p>6 factorial (6!) is <strong>6 times 5 times 4 times 3 times 2, times 1</strong>, and that is equal to 720.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/202/0*G-kzD5SsQuUmOMQ_" /></figure><h3>When do we use Factorial?</h3><p><strong>We use the factorial function for different reasons. One of them is to count how many ways we can arrange different objects. Those objects can be cards, those objects can be letters, those objects can be people, they can be anything.</strong></p><p>If we take for example the word love, which has 4 characters, we can reorder the word objects, the characters in 24 ways ( 4!)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*yMv42IW5q8CkQH9T" /></figure><p><strong>Our Script</strong></p><p>So let’s look at a basic Python script where we enter our word. And our script will tell us according to the word length, how many combinations can be achieved.</p><p><strong>Let’s start by importing the math model.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/812/0*m5P67Aajv2c3L1WC" /></figure><p>And the next thing that we will do is the user input that asks <strong>“what is the word”</strong> for which you want to calculate the number of permutations?</p><p>The next thing that we will do is to add up another <strong>variable (num_word) </strong>which will actually hold the message (or the word) and calculate the length of it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/866/0*6saSw3s3IXQV31Y4" /></figure><p><strong>Next, we will use the factorial function.</strong></p><p>We will create a variable, name it <strong>facto</strong> which will be equal to <strong>math. factorial</strong>, and we will enter <strong>num_word</strong> which is our variable that holds the number of objects in the word itself.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/744/0*LDv6L9XI1QyibeCF" /></figure><p>And the last thing to do is to print the number of the reordered objects ( letters) is and we will add up the factor which is our variable.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*NpvxNuqNR49Q4ccq" /></figure><p>And let’s run this script. What is the word? Let’s start with the word attack, which actually has six objects, six letters, and the number of permutations or the number of reorder letters can be <strong>720</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/868/0*AlemvdYZnrl2Ze4V" /></figure><p>Another example. Let’s use the word information. The word<strong> information</strong> has 11 letters. And that sums up to almost 40 million. So let’s check it out in another collator, and let’s enter 11, which is our n. And let’s calculate the factorial and that also sums up to <strong>40 million possibilities</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/870/0*7OqqXz9lRXo9ixBn" /></figure><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FzfNC_RhCeGw%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DzfNC_RhCeGw&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FzfNC_RhCeGw%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/291ce83eadc765061f14c8cf0b591cf2/href">https://medium.com/media/291ce83eadc765061f14c8cf0b591cf2/href</a></iframe><p>My book, where you can also Learn how Factorial function is used in cryptography</p><p><a href="https://www.amazon.com/Book-Secrets-Cryptography-Handbook-Beginners-ebook/dp/B08YDDDZ24/ref=sr_1_1?dchild=1&amp;keywords=book+of+secrets+cryptography&amp;qid=1617723018&amp;sr=8-1">https://www.amazon.com/Book-Secrets-Cryptography-Handbook-Beginners-ebook/dp/B08YDDDZ24/ref=sr_1_1?dchild=1&amp;keywords=book+of+secrets+cryptography&amp;qid=1617723018&amp;sr=8-1</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b4941178d186" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Transposition Cipher Using Python Random Module]]></title>
            <link>https://medium.com/geekculture/transposition-cipher-using-python-random-module-c0126df1105f?source=rss-e0468f1e1129------2</link>
            <guid isPermaLink="false">https://medium.com/p/c0126df1105f</guid>
            <category><![CDATA[classics]]></category>
            <category><![CDATA[encryption]]></category>
            <category><![CDATA[python-programming]]></category>
            <category><![CDATA[cryptography]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[ofer shmueli]]></dc:creator>
            <pubDate>Fri, 02 Apr 2021 17:02:56 GMT</pubDate>
            <atom:updated>2021-04-02T17:02:56.493Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ke-tSeGTOqyFZGow" /></figure><p><strong>In classic cryptography, we have 2 operations that are used throughout the history of hiding messages and turning plain text into a cipher message</strong></p><h3><strong>Substitution and transposition</strong></h3><p>In the <strong>substitution algorithm</strong>( as used in Caesar cipher and vigenere cipher ) we replace one character with another by shifting its place in the alphabet with a pre-defined number of places</p><h3><strong>In the transposition algorithm, As the name implies, the plain text is re-ordered, we change the order of elements. But the character stays the same</strong></h3><p>Let us use the <strong>python pseudo-random number generator module</strong> to take plain text and use transposition operation, with the key being the <strong>random</strong> <strong>seed</strong> ( the initial value, where the random generator start its math operations )</p><p>We will start and import the random module. We will only use the random. sample function in it, as it allows us to randomize strings</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1010/0*iFu5Kt2X0I8u91eF" /></figure><p>Now create a variable that is a <strong>Boolean</strong>. And let’s use a <strong>while loop</strong>. So that we can actually continue our code again and again.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/846/0*PfWg3G6o9ScKjxIz" /></figure><p>We will need user input, once for the message itself and the second for the key</p><h3>let’s just create that</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/938/0*Z5-DnHuRlPGuluuO" /></figure><p>The first input <strong>“what is your message”</strong> the second one <strong>“What is your Key”</strong></p><h3>Now the key is the most interesting part since our key is actually the seed value,</h3><p>As said, the seed value is an initial value that our random model uses at the start of the mathematical operation where it actually generates pseudo numbers.</p><p>And now let’s set our <strong>random seed</strong>, The user input for the key is saved as a variable we will place that just use our key</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/916/0*0yCvq8kbRU7eJBzm" /></figure><p>Moving on, we will use the random.sample() function itself, which takes two parameters. The first one is a list or a string, which in our case is the message. that we have just entered. And the second one is the length of the samples we want, we need the same number of samples as our string holds. the same number of letters. That’s why we will use the length of the message — <strong>len(message)</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/854/0*DzEP_1bUhPH5049Q" /></figure><p>The last line of code is to print the encrypted message,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/926/0*WImkLSdI_GTf2nGM" /></figure><p>Now run your script.</p><p>What is your message?</p><p>The message will <strong>“attackatdawn”</strong></p><p>What is the key?</p><p>The key will be 9.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1016/0*DvwECnct7DJz0mDG" /></figure><p>Our ciphered message is <strong>“akaatcdwtatn”</strong></p><p>Let’s use another random seed key</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1014/0*kjzHkgAR7XL2X-RX" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c0126df1105f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/geekculture/transposition-cipher-using-python-random-module-c0126df1105f">Transposition Cipher Using Python Random Module</a> was originally published in <a href="https://medium.com/geekculture">Geek Culture</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Fortigate Firewall Split Tunnel Mode]]></title>
            <link>https://infosecwriteups.com/fortigate-firewall-split-tunnel-mode-49897fd0bf20?source=rss-e0468f1e1129------2</link>
            <guid isPermaLink="false">https://medium.com/p/49897fd0bf20</guid>
            <category><![CDATA[infosec]]></category>
            <category><![CDATA[fortigate]]></category>
            <category><![CDATA[fortinet]]></category>
            <category><![CDATA[firewall]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[ofer shmueli]]></dc:creator>
            <pubDate>Wed, 31 Mar 2021 08:01:16 GMT</pubDate>
            <atom:updated>2021-03-31T08:01:16.704Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*vhSGWwjpZcopC84r" /></figure><h3><strong>If you’re using an SSL VPN on your Fortigate Firewall, then you have 3 modes to choose from.</strong></h3><p>The first one is a <strong>Web mode</strong>, where you access resources through a web browser. But with a limited set of protocols.</p><p>In the second, <strong>Full tunnel mode</strong>, you get access to all the protocols and applications, but the traffic the full traffic will move through that tunnel. And sometimes it is not requested. ( Takes resources from your FortiGate firewall )</p><p>The third mode is a <strong>Split Tunnel mode</strong> where you can access specific resources, and the rest of the traffic will move through the public Internet.</p><h3>Let’s look at a split tunnel mode.</h3><p>Our topology is as follows. We have our LAN interface. And we also have a VLAN interface, which is at 10.0 .6.0. subnet. And that’s our destination.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*F9e0X3rhEd95_BFX" /></figure><p>Be sure that you have <strong>firewall address objects</strong> of that VLAN and also of your LAN. You will use it later on.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-PjsmFttGNdHkoX3" /></figure><p><strong>The second thing is to create your user group.</strong></p><p>This will be the SSL split-tunnel user group that will be allowed to access that resource. So step one, be sure to create firewall address objects of the different resources. Step two, create user groups.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*xSRx7A-yRQto3fT4" /></figure><p>Now move to<strong> VPN — SSL VPN </strong>portal where you have several options, you have full access mode and a web mode.</p><p>Create your own SSL VPN portal. I’ve named it home Lan.</p><p><strong>Choose a Tunnel mode and a Split Tunnel mode.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*fuSXaaclA6gWuTdD" /></figure><p>Again, a split-tunnel mode allows you to get access to specific resources.</p><p>Here you will actually choose your firewall address object.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/896/0*ZpyjZd9xVq55oINu" /></figure><p>The second thing is to choose source<strong> IP Pools</strong>. this will make sure that users will get IP addresses from a specific range, you can create your own range, you can edit the current range, be sure to choose that since it also allows you to have more security when you set up your policy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/660/1*CtsTWdX2kI6ugL_ReUYi6w.png" /></figure><p>You can also choose different options such as saving a password, connecting automatically, and so on, you can also do a<strong> host check</strong>, you can restrict access to a specific operating system. If you don’t want someone with Windows 7 to access your network, you can block access to a specific operating system, we will not do so.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/836/0*GLdJY1Y7vBF3kJ7_" /></figure><p>The second thing is <strong>SSL VPN settings</strong> themselves. Now, you will probably listen to your WAN interface. The default is Port 443. But since other applications are using 443, then make sure that you’re changing the port, you can choose to limit the access to specific hosts or allow it to any host, we will keep it to any host.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*wQFfNQZyYaDKrGuz" /></figure><p>The idle log time by default is five minutes, change it to any period that you think is enough for your users</p><p>Use your own certificate. your FortiGate comes with a predefined self-signed certificate, use your own certificate on your SSL VPN portal.</p><p>Following the other settings, you can map users to specific portals. So let’s just do that. and apply.</p><h3><strong>Firewall Policy</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/884/0*3fdJALqdGnA0SCqB" /></figure><p><strong>The last thing is your firewall policy.</strong></p><p>The incoming interface is the SSL VPN.</p><p>The outgoing interface is our LAN interface</p><p>the source is the SSL group that we have just created.</p><p>You can also add up the IP pool as a source, which will make your policy much more secure. The destination is the VLAN 100 address object that we have just created. Scheduling is always services always and you can use any security profiles that you wish</p><p><strong>Learn more with My “Fortigate Admin Pocket Guide”</strong></p><p><a href="https://www.amazon.com/Fortigate-Firewall-Admin-Pocket-Guide-ebook/dp/B08SKPVF8W/ref=sr_1_1?dchild=1&amp;keywords=fortigate+admin+book&amp;qid=1617048735&amp;sr=8-1">https://www.amazon.com/Fortigate-Firewall-Admin-Pocket-Guide-ebook/dp/B08SKPVF8W/ref=sr_1_1?dchild=1&amp;keywords=fortigate+admin+book&amp;qid=1617048735&amp;sr=8-1</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=49897fd0bf20" width="1" height="1" alt=""><hr><p><a href="https://infosecwriteups.com/fortigate-firewall-split-tunnel-mode-49897fd0bf20">Fortigate Firewall Split Tunnel Mode</a> was originally published in <a href="https://infosecwriteups.com/">InfoSec Write-ups</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Base64 Explained]]></title>
            <link>https://infosecwriteups.com/base64-explained-17cd8864da02?source=rss-e0468f1e1129------2</link>
            <guid isPermaLink="false">https://medium.com/p/17cd8864da02</guid>
            <category><![CDATA[encryption]]></category>
            <category><![CDATA[infosec]]></category>
            <category><![CDATA[base64]]></category>
            <category><![CDATA[cryptography]]></category>
            <dc:creator><![CDATA[ofer shmueli]]></dc:creator>
            <pubDate>Wed, 31 Mar 2021 06:01:04 GMT</pubDate>
            <atom:updated>2021-05-19T05:17:39.978Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*lqfLZrgRJg28J0xB" /></figure><h3><strong>Base 64 is used everywhere. It is the most known and famous encoding scheme that is used to represent binary data and transform it into an ASCII representation. Why do we use it? What is the algorithm? And how does it actually work?</strong></h3><p>We use base 64 as a method to encode binary data into an ASCII representation.</p><h3>Why?</h3><p>We do so since many systems and networks just don’t represent binary data as it is supposed to be shown. So how does it actually work?</p><p>Let’s do it by example. Let’s take the word <strong>FortiGate</strong>. Each character has an eight-bit representation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*y3FsunbsxMqTdIaG" /></figure><p>If we will convert each character into its own <strong>ASCII binary presentation</strong>,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*4hNDQaX7ryQTZzfE" /></figure><p>We will see for example, that the character <strong>F</strong> has a value of 102,</p><p>which’s the decimal value of the character. If we convert it into a binary presentation, we will get <strong>01100110</strong>.</p><h3>Let&#39;s convert each character into their binary representation</h3><p>Now take the different bits, the different character bits, and regroup them in a <strong>six binary digit format</strong>. That is taking each byte last two bits and add them up to the next eight-bit.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*lDus2z2tWuq03RX6" /></figure><p>By doing so, we will have six-digit binary groups. more groups than we had before.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*TaVBVyRWYCxbomTY" /></figure><p>Now take each group and convert it into its own decimal number.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*LFy2zxZmWvWm2FDk" /></figure><p>So now the first group is actually 25, converting it into its own decimal value, the second group is 38, and so on.</p><p><strong>Base64 table</strong></p><p>Now, take the base 64 encoding table which you can find just about everywhere ( Google ) And each decimal value has its own representation in base 64.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*nin4vWKWszVmgRn2" /></figure><p>25 is actually Z 38 is m, converting that way, you will find out that the word FortiGate is actually in base 64 Z M, 9 Y, D G L N Y X R L.</p><p>Let’s now do it using a Python script and check it out.</p><p><a href="https://replit.com/@ofershmueli/base64#main.py">base64</a></p><p><strong>My Book Of secrets — Cryptography Handbook for beginners</strong></p><p><a href="https://www.amazon.com/gp/css/order-history/?ref=hud_2_gw_profile&amp;pf_rd_r=V6S41K9CV56PSH9JCFDX&amp;pf_rd_p=74587702-88fd-42c7-8550-0760c67a45f3&amp;pd_rd_r=7e0ee6b5-3c50-46c6-8ccb-153fd78dcb92&amp;pd_rd_w=bVVwr&amp;pd_rd_wg=xRnFn&amp;ref_=pd_gw_unk">https://www.amazon.com/gp/css/order-history/?ref=hud_2_gw_profile&amp;pf_rd_r=V6S41K9CV56PSH9JCFDX&amp;pf_rd_p=74587702-88fd-42c7-8550-0760c67a45f3&amp;pd_rd_r=7e0ee6b5-3c50-46c6-8ccb-153fd78dcb92&amp;pd_rd_w=bVVwr&amp;pd_rd_wg=xRnFn&amp;ref_=pd_gw_unk</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=17cd8864da02" width="1" height="1" alt=""><hr><p><a href="https://infosecwriteups.com/base64-explained-17cd8864da02">Base64 Explained</a> was originally published in <a href="https://infosecwriteups.com/">InfoSec Write-ups</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Book Of Secrets]]></title>
            <link>https://ofershmueli.medium.com/book-of-secrets-92a0a66e4f0c?source=rss-e0468f1e1129------2</link>
            <guid isPermaLink="false">https://medium.com/p/92a0a66e4f0c</guid>
            <category><![CDATA[passwords]]></category>
            <category><![CDATA[life-hacking]]></category>
            <category><![CDATA[crypto]]></category>
            <category><![CDATA[cryptography]]></category>
            <dc:creator><![CDATA[ofer shmueli]]></dc:creator>
            <pubDate>Thu, 18 Mar 2021 13:29:28 GMT</pubDate>
            <atom:updated>2021-03-18T13:29:28.346Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Cryptography</strong> <strong>Handbook</strong> For Beginners</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/533/1*M48FdILYod_WdW_FWRPJ4w.png" /></figure><h3><strong>Let’s start with a question</strong></h3><p>You Enter your office and you need to enter a <strong>4</strong>-character password</p><p>The keypad has <strong>10</strong> digits</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*v1OP4YRaL_LpgqMY" /></figure><h3>“How many <strong>password possibilities</strong> are there? “</h3><p>Using basic math, The answer is <strong>10 to the power of 4 ( you multiply 10 by itself 4 times )</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/332/0*6d3s397SiLXY5bd_" /></figure><p>This question actually leads to some basic crypto terminology</p><ul><li>The <strong>secret key</strong> complexity is <strong>10</strong> digits from <strong>0–9</strong></li><li>The<strong> key length</strong> is <strong>4</strong> characters</li><li>The <strong>keyspace</strong>, the number of possibilities is <strong>10,000</strong> combinations</li></ul><p>When we deal with cryptography, the art of hiding things, anyone knows what is the cipher algorithm that generated the cipher message. But the attacker/hacker tries to find out what is the<strong> secret key</strong></p><p><a href="https://www.amazon.com/Book-Secrets-Cryptography-Handbook-Beginners/dp/B08YCXPHGZ/ref=pd_ybh_a_1?_encoding=UTF8&amp;psc=1&amp;refRID=PGTXBGPAZ506S4VY6Y4A">https://www.amazon.com/Book-Secrets-Cryptography-Handbook-Beginners/dp/B08YCXPHGZ/ref=pd_ybh_a_1?_encoding=UTF8&amp;psc=1&amp;refRID=PGTXBGPAZ506S4VY6Y4A</a></p><p><strong>“Book Of Secrets”</strong>, will walk you through the most important cryptographic concepts from the classic era up until now. we will look at different use cases and learn how encryption and cryptanalysis work.</p><p>This book is a fascinating journey to one of the most secret and unknown skill</p><p><strong>Every chapter includes hands-on practices</strong></p><p><strong>It is written for beginners and intermediate users</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=92a0a66e4f0c" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>