<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/rss/stylesheet/" type="text/xsl"?>
<rss xmlns:content='http://purl.org/rss/1.0/modules/content/' xmlns:taxo='http://purl.org/rss/1.0/modules/taxonomy/' xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#' xmlns:itunes='http://www.itunes.com/dtds/podcast-1.0.dtd' xmlns:googleplay="http://www.google.com/schemas/play-podcasts/1.0" xmlns:dc='http://purl.org/dc/elements/1.1/' xmlns:atom='http://www.w3.org/2005/Atom' xmlns:podbridge='http://www.podbridge.com/podbridge-ad.dtd' version='2.0'>
<channel>
  <title>苏迟但到的主页</title>
  <language>zh-cn</language>
  <generator>microfeed.org</generator>
  <itunes:type>episodic</itunes:type>
  <itunes:explicit>false</itunes:explicit>
  <atom:link rel="self" href="https://kexohproject.pages.dev/rss/" type="application/rss+xml"/>
  <link>https://kexohproject.pages.dev</link>
  <description>
    <![CDATA[<p>你好，欢迎访问个人主页！</p><p>擅长密码学，安全分析，数字水印等技术。</p><p>你可以联系我通过:findmykexin@gmail.com或者知乎私信。</p><p>我的知乎链接：<a href="https://www.zhihu.com/people/su-chi-dan-dao" rel="noopener noreferrer" target="_blank">苏迟但到 - 知乎 (zhihu.com)</a></p><p>我的github链接：<a href="https://github.com/kexinoh" rel="noopener noreferrer" target="_blank">kexinoh</a></p>]]>
  </description>
  <itunes:author>苏迟但到</itunes:author>
  <itunes:image href="https://kexohcdn.gptapi.cyou/kexohproject/production/images/channel-2e54d141ee195646ca12a9d16507a908.jpg"/>
  <image>
    <title>苏迟但到的主页</title>
    <url>https://kexohcdn.gptapi.cyou/kexohproject/production/images/channel-2e54d141ee195646ca12a9d16507a908.jpg</url>
    <link>https://kexohproject.pages.dev</link>
  </image>
  <copyright>©2024</copyright>
  <itunes:category text="Education">
    <itunes:category text="Language Learning"/>
  </itunes:category>
  <itunes:category text="Technology"/>
  <item>
    <title>为什么要使用base64编码，有哪些情景需求？</title>
    <guid>B0VAeWFPcUz</guid>
    <pubDate>Thu, 01 Dec 2022 15:23:06 GMT</pubDate>
    <itunes:explicit>false</itunes:explicit>
    <description>
      <![CDATA[<p data-pid="LTxHVTWp">除了前排答主所说的功能，还包含了抵御含SQL注入在内的各种注入的功能。</p><p data-pid="VF9h2Xlf">base64编码中不包含任何符号和空格，因此（近乎很难构造成）不会被解析成任何攻击语句。任何要存入的语句先进行base64编码再往后端传或者后端收到后先进行base64转码再进行sql拼接，这样可以有效的抵御SQL注入等各种攻击。</p><p data-pid="VgfeX3Xd">它提供的安全性要高于各种SQL过滤器。</p><p data-pid="PoK-L7a4">经过base64化的语句就可以看做是一串近乎绝对安全的语句，而不用担心潜在的各种攻击。</p><p data-pid="tK70kxNZ">但是缺点也有一些，一旦base64化，那么就不能进行高效搜索，以及储存空间要占用更大的地方，也不能方便的进行字符串截取等操作。</p><p data-pid="W0XGpUh5">要提供更高的安全性的数据库可以使用可搜索加密数据库，在实现搜索前提下，对字符串全部进行了加密（同样也转化为了单纯的16进制字符串），同时还实现了数据库泄露下的问题。</p><p data-pid="h2JK1QwW">如果再结合区块链（或者硬备份）的话，还可以进一步实现黑客进行恶意操作的回滚，安全性就很完美了。这种方案，除了效率不高，其他都很完美。</p>]]>
    </description>
    <itunes:title>New Article Title for iTunes</itunes:title>
  </item>
</channel>
</rss>