<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Openssl on Body of Knowledge | João Malcata</title>
    <link>https://bok.malcata.eu/tags/openssl/</link>
    <description>Recent content in Openssl on Body of Knowledge | João Malcata</description>
    <image>
      <title>Body of Knowledge | João Malcata</title>
      <url>https://bok.malcata.eu/icon.png</url>
      <link>https://bok.malcata.eu/icon.png</link>
    </image>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Wed, 21 Feb 2007 18:55:38 +0000</lastBuildDate><atom:link href="https://bok.malcata.eu/tags/openssl/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>using openssl to encrypt/decrypt content</title>
      <link>https://bok.malcata.eu/blog/using-openssl-to-encryptdecrypt-content/</link>
      <pubDate>Wed, 21 Feb 2007 18:55:38 +0000</pubDate>
      
      <guid>https://bok.malcata.eu/blog/using-openssl-to-encryptdecrypt-content/</guid>
      <description>&lt;p&gt;Here you can find and sample on how to encrypt and decrypt content using OPENSSL.
This sample goes with 3DES but it is valid for other chiphers. Notice the password will be requested to do the encryption.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Encoding foo.txt&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;openssl enc -des3 -in foo.txt -out foo.3des
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;ul&gt;
&lt;li&gt;Decoding foo.3des&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;openssl enc -d -des3 -in foo.3des -out bar.txt
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description>
    </item>
    
  </channel>
</rss>
