任意のバイト列のハッシュ関数値を計算する
[詳細]
#include "config/mist_conf.h"
#include <string>
#include "md5.h"
#include "sha.h"
ソースコードを見る。
関数 |
std::ostream & | mist::operator<< (std::ostream &out, const hash_algorithm &h) |
| 指定されたストリームにデータを出力する
|
説明
任意のバイト列のハッシュ関数値を計算する
- 参考文献
- MD2, RFC1319, http://www.ietf.org/rfc/rfc1319.txt
- MD4, RFC1320, http://www.ietf.org/rfc/rfc1320.txt
- MD5, RFC1321, http://www.ietf.org/rfc/rfc1321.txt
- SHA-1, RFC3174, http://www.ietf.org/rfc/rfc3174.txt
- SHA-256, 384, 512, "Descriptions of SHA-256, SHA-384, and SHA-512." http://csrc.nist.gov/cryptval/shs/sha256-384-512.pdf