per page, with , order by , clip by
Results of 1 - 10 of about 10 for algorithms (0.007 sec.)
hashlib --- セキュアハッシュとメッセージダイジェスト 12728
hashlib --- セキュアハッシュとメッセージダイジェスト ソースコード: Lib/hashlib.py このモジュールは、多くの異なるハッシュアルゴリズムに共通のインターフェースを実装しています。 FIPS のセキュアハッシュアルゴリズム SHA224、SHA256、SHA384、SHA51 ... メソッドに一度に 2047 バイトを超えるデータを渡すと、ハッシュの計算中は Python の GIL を解放します。 Constructors for hash algorithms that are always present in this module are sha1() , sha224() , sha256() , sha384() , sha512() , sha3_224() , sha3_256() , ... as well, though it may be missing or blocked if you are using a rare "FIPS compliant" build of Python. These correspond to algorithms_guaranteed . 使用している Python ディストリビューションの hashlib が、ほかのアルゴリズムを提供する OpenSSL ビルドにリンクさ ... ことがあります。 これらは すべての環境での利用が保証されているわけではなく 、 new() に名前を渡す方法でのみアクセスできます。 algorithms_available を参照してください。 警告 一部のアルゴリズム (MD5 と SHA1 を含む) には、ハッシュの衝突に関する既知の弱点がありま ...
https://man.mtool.work/python/3.14/library/hashlib.html
PyHash API 10941
PyHash API PyTypeObject.tp_hash メンバや 数値型のハッシュ化 も参照してください。 type Py_hash_t ハッシュ値型: 符号付き整数。 Added in version 3.2. type Py_uhash_t ハッシュ値型: 符号なし整数。 Added in version 3.2. Py_HASH_ALGORITHM str 、 b ... .hash_info.seed_bits 定数に対応します。 Added in version 3.4. PyHash_FuncDef PyHash_Func When Python is built with Py_HASH_ALGORITHM set to Py_HASH_EXTERNAL , the application embedding Python must define this variable to supply a hash implementation instea ... d of using one of Python's built-in hash algorithms. Added in version 3.4. バージョン 3.15 で非推奨、バージョン 3.19 で削除予定: Use one of the built-in hash algorithms inste ...
https://man.mtool.work/python/3.14/c-api/hash.html
セキュリティで考慮すべき点 9868
セキュリティで考慮すべき点 以下のモジュールには、特有のセキュリティ上の注意点があります: base64 : RFC 4648 にある base64 のセキュリティ上の注意点 hashlib : all constructors take a "usedforsecurity" keyword-only argument disabling known inse ... cure and blocked algorithms http.server は基本的なセキュリティチェックしか実装していないため、本番環境での使用には適していません。 セキュリティ上の注意 ...
https://man.mtool.work/python/3.14/library/security_warnings.html
Pythonモジュール索引 9868
Pythonモジュール索引 _ | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | v | w | x | z _ __future__ Future statement definitions __main__ The environment where top-level code is run. Covers command-line i ... ork. binascii Tools for converting between binary and various ASCII-encoded binary representations. bisect Array bisection algorithms for binary searching. builtins The module that provides the built-in namespace. bz2 Interfaces for bzip2 compression and d ... ends). gzip Interfaces for gzip compression and decompression using file objects. h hashlib Secure hash and message digest algorithms. heapq Heap queue algorithm (a.k.a. priority queue). hmac Keyed-Hashing for Message Authentication (HMAC) implementation h ...
https://man.mtool.work/python/3.14/py-modindex.html
What's New in Python 2.7 8777
What's New in Python 2.7 著者 : A.M. Kuchling (amk at amk.ca) この文書は Python 2.7 の新機能について解説します。Python 2.7 は 2010 年 7 月 3 日にリリースされました。 数値周りの扱いが、浮動小数点数でも Decimal クラスでもいろいろな点で改良され ... ます。(Fixed by Tadek Pietraszek and Brian Curtin; bpo-2846 .) 新属性: hashlib に、対応するアルゴリズム名のタプルを保持する algorithms が加わりました。 Python 2.7 の hashlib.algorithms は ('md5', 'sha1', 'sha224', 'sha256', 'sha384', 'sha512') です。 (Carl ... 正、 bpo-8222 )。 The wrap_socket() constructor function now takes a ciphers argument that's a string listing the encryption algorithms to be allowed; the format of the string is described in the OpenSSL documentation . (Added by Antoine Pitrou; bpo-8322 .) ... わりに /dev/urandom のファイル記述子をキャッシュするように変更されました。(Contributed by Alex Gaynor; bpo-21305 .) hashlib.algorithms_guaranteed と hashlib.algorithms_available が Python 3 からバックポートされました。これにより Python 2 アプリケーションが可 ...
https://man.mtool.work/python/3.14/whatsnew/2.7.html
The Python Profilers 7705
The Python Profilers Source code: Lib/profile.py and Lib/pstats.py Introduction to the profilers cProfile and profile provide deterministic profiling of Python programs. A profile is a set of statistics that describes how often and for how ... file by cumulative time in a function, and then only prints the ten most significant lines. If you want to understand what algorithms are taking time, the above line is what you would use. If you were looking to see what functions were looping a lot, and t ...
https://man.mtool.work/python/3.14/library/profile.html
timeit --- 小さなコードスニペットの実行時間計測 7705
timeit --- 小さなコードスニペットの実行時間計測 ソースコード: Lib/timeit.py このモジュールは、小さな Python コードの実行時間を簡単に計測する手段を提供します。 Command-Line Interface と、 Python から呼び出せるインターフェース の両方があります ... 。 実行時間の計測で陥りがちな問題の多くを回避できます。 O'Reilly 刊 Python Cookbook 第 2 版の「Algorithms」章にある Tim Peters による導入も参照してください。 Basic Examples 次の例は Command-Line Interface を使って 3 つの異なる式の ...
https://man.mtool.work/python/3.14/library/timeit.html
locale --- 国際化サービス 7347
locale --- 国際化サービス ソースコード: Lib/locale.py locale モジュールは POSIX のロケールデータベースと関連機能へのアクセスを提供します。 POSIX のロケール機構を使うと、ソフトウェアが実行される国ごとの事情をすべて知っていなくても、アプリケー ... me functions in the gettext module, but use the C library's binary format for message catalogs, and the C library's search algorithms for locating message catalogs. 通常、Python アプリケーションがこれらの関数を呼び出す必要はなく、代わりに gettext を使用する ...
https://man.mtool.work/python/3.14/library/locale.html
What's New In Python 3.2 7347
What's New In Python 3.2 著者 : Raymond Hettinger この記事では Python 3.1 と比較した Python 3.2 の新機能を説明します。 Python 3.2 は 2011 年 2 月 20 日にリリースされました。 主な変更点をいくつか取り上げ、例を示します。 すべての詳細については ... 障されているハッシュアルゴリズムのリストと、現在の実装で利用可能なそれらリストの 2 つです: >>> import hashlib >>> hashlib . algorithms_guaranteed {'sha1', 'sha224', 'sha384', 'sha256', 'sha512', 'md5'} >>> hashlib . algorithms_available {'md2', 'SHA256', 'S ...
https://man.mtool.work/python/3.14/whatsnew/3.2.html
decimal --- 10進固定小数点と浮動小数点の演算 6990
decimal --- 10進固定小数点と浮動小数点の演算 ソースコード: Lib/decimal.py decimal モジュールは、高速で正しく丸められる 10 進浮動小数点演算をサポートします。 float データ型に比べて次のような利点があります: Decimal は「人間を念頭に設計された ... い浮動小数点演算の丸めによって、加算の結合法則や分配法則が成り立たなくなる 2 つの示唆に富む例を挙げています: # Seminumerical Algorithms の 4.2.2 節の例。 >>> from decimal import Decimal , getcontext >>> getcontext () . prec = 8 >>> u , v , w = Decimal ( 1111 ...
https://man.mtool.work/python/3.14/library/decimal.html
PREV 1 NEXT