Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
PHP CRC32 関数の返される長さを変化させるものはありますか?
ありがとう!
いいえ、定義上、CRC32 は 32 ビットです。
その表現を変更することしかできません。たとえば、4 つの 8 ビット バイトで表すことができる (したがって、PHP の int に収まる) 一方で、その数値を基数 10 の文字列で表すと、10 文字 (符号なし) を持つことができます。 2^32-1 は 4294967295 です。