HMAC: Perbedaan antara revisi
Konten dihapus Konten ditambahkan
kTidak ada ringkasan suntingan |
Rescuing 6 sources and tagging 0 as dead.) #IABot (v2.0.9.5 |
||
(13 revisi perantara oleh 9 pengguna tidak ditampilkan) | |||
Baris 1:
[[Berkas:SHAhmac.svg|jmpl|HMAC Generasi SHA1]]
Dalam
== Contoh ==
Berikut adalah beberapa HMAC yang mempunyai nilai kosong:<syntaxhighlight lang="ada" start="1">
HMAC_MD5("", "") = 74e6f7298a9c2d168935f58c001bad88
HMAC_SHA1("", "") = fbdb1d1b18aa6c08324b7d64b71fb76370690e1d
HMAC_SHA256("", "") = b613679a0814d9ec772f95d778c35fc5ff1697c493715653c6c712144292c5ad
</syntaxhighlight>Berikut adalah beberapa HMAC yang mempunyai value ( tidak kosong ), dengan asumsi pengkodean ASCII atau UTF-8 8-bit:<syntaxhighlight>
HMAC_MD5("key", "The quick brown fox jumps over the lazy dog") = 80070713463e7749b90c2dc24911e275
HMAC_SHA1("key", "The quick brown fox jumps over the lazy dog") = de7c9b85b8b78aa6bc8a7a36f70a90701c9db4d9
HMAC_SHA256("key", "The quick brown fox jumps over the lazy dog") = f7bc83f430538424b13298e6aa6fb143ef4d59a14946175997479dbc2d1a3cd8
</syntaxhighlight>
== Pranala luar ==
* [http://www.ietf.org/rfc/rfc2104.txt RFC2104] {{Webarchive|url=https://web.archive.org/web/20161129005207/http://www.ietf.org/rfc/rfc2104.txt |date=2016-11-29 }}
* [http://quickhash.com/hmac Online HMAC Calculator for dozens of underlying hashing algorithms] {{Webarchive|url=https://web.archive.org/web/20170711094749/https://quickhash.com/hmac |date=2017-07-11 }}▼
* [https://codebeautify.org/hmac-generator Online HMAC Generator / Tester Tool] {{Webarchive|url=https://web.archive.org/web/20230531104215/https://codebeautify.org/hmac-generator |date=2023-05-31 }}
* [http://csrc.nist.gov/publications/fips/fips198-1/FIPS-198-1_final.pdf FIPS PUB 198-1, ''The Keyed-Hash Message Authentication Code (HMAC)''] {{Webarchive|url=https://web.archive.org/web/20130217190252/http://csrc.nist.gov/publications/fips/fips198-1/FIPS-198-1_final.pdf |date=2013-02-17 }}▼
* [http://www.ouah.org/ogay/hmac/ C HMAC implementation] {{Webarchive|url=https://web.archive.org/web/20170502230455/http://www.ouah.org/ogay/hmac/ |date=2017-05-02 }}
* [https://docs.python.org/library/hmac.html Python HMAC implementation] {{Webarchive|url=https://web.archive.org/web/20121022065456/http://docs.python.org/library/hmac.html |date=2012-10-22 }}
* [http://docs.oracle.com/javase/1.5.0/docs/guide/security/jce/JCERefGuide.html#HmacEx Java implementation] {{Webarchive|url=https://web.archive.org/web/20170623233945/http://docs.oracle.com/javase/1.5.0/docs/guide/security/jce/JCERefGuide.html#HmacEx |date=2017-06-23 }}
{{Hash kriptografi}}
[[Kategori:Kriptografi]]
▲* [http://quickhash.com/hmac Online HMAC Calculator for dozens of underlying hashing algorithms]
▲* [http://csrc.nist.gov/publications/fips/fips198-1/FIPS-198-1_final.pdf FIPS PUB 198-1, ''The Keyed-Hash Message Authentication Code (HMAC)'']
|