<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>a1026302</author_name>
  <author_url>https://blog.hatena.ne.jp/a1026302/</author_url>
  <blog_title>ものづくりのブログ</blog_title>
  <blog_url>https://a1026302.hatenablog.com/</blog_url>
  <categories>
    <anon>Python</anon>
    <anon>Python-エラー対応</anon>
  </categories>
  <description>暗号モジュールを使って以下のような処理を実行したら、エラーで困りました。 pythonのバージョンは3.8だったのだが。。。 from Crypto.Cipher import PKCS1_OAEP from Crypto.PublicKey import RSA message = b'1234567890987654321' key = RSA.importKey(open('receiver.pem').read()) cipher = PKCS1_OAEP.new(key) ciphertext = cipher.encrypt(message) Python 3.8のエラー Attr…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fa1026302.hatenablog.com%2Fentry%2F2021%2F04%2F29%2F140907&quot; title=&quot;暗号化処理で「AttributeError: module &amp;#39;time&amp;#39; has no attribute &amp;#39;clock&amp;#39;」というエラーが出て困る - ものづくりのブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/a/a1026302/20210427/20210427220240.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-04-29 14:09:07</published>
  <title>暗号化処理で「AttributeError: module 'time' has no attribute 'clock'」というエラーが出て困る</title>
  <type>rich</type>
  <url>https://a1026302.hatenablog.com/entry/2021/04/29/140907</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
