<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Base64 on Bigshans&#39; Blog</title>
    <link>https://bigshans.github.io/tags/base64/</link>
    <description>Recent content in Base64 on Bigshans&#39; Blog</description>
    <generator>Hugo</generator>
    <language>en</language>
    <copyright>bigshans</copyright>
    <lastBuildDate>Wed, 17 Oct 2018 17:23:44 +0000</lastBuildDate>
    <atom:link href="https://bigshans.github.io/tags/base64/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>python3 下使用 base64</title>
      <link>https://bigshans.github.io/post/python-base64/</link>
      <pubDate>Wed, 17 Oct 2018 17:23:44 +0000</pubDate>
      <guid>https://bigshans.github.io/post/python-base64/</guid>
      <description>&lt;p&gt;用自带库 base64 。&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code class=&#34;language-python&#34;&gt;import base64&#xA;encode = base64.b64encode(b&#39;i love python&#39;) # 加密&#xA;print(str(encode, &#39;utf-8&#39;)) # aSBsb3ZlIHB5dGhvbg==&#xA;encode = base64.b64decode(b&#39;aSBsb3ZlIHB5dGhvbg==&#39;)&#xA;print(encode) #解密&#xA;&lt;/code&gt;&lt;/pre&gt;</description>
    </item>
  </channel>
</rss>
