3
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

ハッシュ関数

3
Last updated at Posted at 2013-03-03

文字列、数字などからある16進数の値(ハッシュ値)を導く関数のこと。

  • MD5で導くハッシュ値
% echo hello | openssl md5
b1946ac92492d2347c6235b4d2611184
  • SHA-1で導くハッシュ値
% echo hello | openssl sha1
f572d396fae9206628714fb2ce00f72e94f2258f

MD5とSHA-1の違い

  • MD5:ハッシュ値が128bit
  • SHA-1:ハッシュ値が160bit

その他のハッシュ関数

  • md4
  • md5
  • mdc2
  • md160
  • sha
  • sha1
3
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?