Python logo

前のトピックへ

plistlib --- Apple .plist ファイルを生成・解析する

次のトピックへ

hashlib --- セキュアハッシュとメッセージダイジェスト

このページ

  • バグ報告
  • ソースの表示

ナビゲーション

  • 索引
  • モジュール |
  • 次へ |
  • 前へ |
  • Python logo
  • Python »
  • 3.13.3 Documentation »
  • Python 標準ライブラリ »
  • 暗号関連のサービス
  • |
  • |

暗号関連のサービス¶

この章で記述されているモジュールでは、暗号の本質に関わる様々なアルゴリズムを実装しています。 これらは必要に応じてインストールすることで使用できます。概要を以下に示します:

  • hashlib --- セキュアハッシュとメッセージダイジェスト
    • ハッシュアルゴリズム
    • 使用法
    • Constructors
    • 属性
    • Hash Objects
    • SHAKE 可変長ダイジェスト
    • File hashing
    • 鍵導出
    • BLAKE2
      • ハッシュオブジェクトの作成
      • 定数
      • 使用例
        • 簡単なハッシュ化
        • Using different digest sizes
        • Keyed hashing
        • Randomized hashing
        • Personalization
        • ツリーモード
      • クレジット:
  • hmac --- メッセージ認証のための鍵付きハッシュ化
  • secrets --- 機密を扱うために安全な乱数を生成する
    • 乱数
    • トークンの生成
      • トークンは何バイト使うべきか?
    • その他の関数
    • レシピとベストプラクティス

前のトピックへ

plistlib --- Apple .plist ファイルを生成・解析する

次のトピックへ

hashlib --- セキュアハッシュとメッセージダイジェスト

このページ

  • バグ報告
  • ソースの表示
«

ナビゲーション

  • 索引
  • モジュール |
  • 次へ |
  • 前へ |
  • Python logo
  • Python »
  • 3.13.3 Documentation »
  • Python 標準ライブラリ »
  • 暗号関連のサービス
  • |
  • |
© Copyright 2001-2025, Python Software Foundation.
This page is licensed under the Python Software Foundation License Version 2.
Examples, recipes, and other code in the documentation are additionally licensed under the Zero Clause BSD License.
See History and License for more information.

The Python Software Foundation is a non-profit corporation. Please donate.

最終更新: 5月 08, 2025 (06:54 UTC) Found a bug?
Created using Sphinx 8.2.3.