Class: SHA3::KMAC
- Inherits:
-
Object
- Object
- SHA3::KMAC
- Defined in:
- ext/sha3/kmac.c,
ext/sha3/kmac.c
Overview
KMAC (Keccak Message Authentication Code) is a MAC algorithm based on the Keccak permutation. It is defined in NIST SP800-185 and provides both fixed-length and XOF (arbitrary-length) output modes.
Defined Under Namespace
Classes: Error
Class Method Summary collapse
Instance Method Summary collapse
-
#digest ⇒ Object
Output methods.
- #hex_squeeze ⇒ Object
- #hexdigest ⇒ Object
- #initialize ⇒ Object constructor
- #initialize_copy ⇒ Object
-
#name ⇒ Object
Digest properties.
- #squeeze ⇒ Object
- #update ⇒ Object (also: #<<)
Constructor Details
#initialize ⇒ Object
18 |
# File 'ext/sha3/kmac.c', line 18 static VALUE rb_sha3_kmac_init(int, VALUE *, VALUE); |
Class Method Details
.digest ⇒ Object
31 |
# File 'ext/sha3/kmac.c', line 31 static VALUE rb_sha3_kmac_self_digest(int, VALUE *, VALUE); |
.hexdigest ⇒ Object
32 |
# File 'ext/sha3/kmac.c', line 32 static VALUE rb_sha3_kmac_self_hexdigest(int, VALUE *, VALUE); |
Instance Method Details
#digest ⇒ Object
Output methods
29 |
# File 'ext/sha3/kmac.c', line 29 static VALUE rb_sha3_kmac_digest(int, VALUE *, VALUE); |
#hex_squeeze ⇒ Object
35 |
# File 'ext/sha3/kmac.c', line 35 static VALUE rb_sha3_kmac_hex_squeeze(VALUE, VALUE); |
#hexdigest ⇒ Object
30 |
# File 'ext/sha3/kmac.c', line 30 static VALUE rb_sha3_kmac_hexdigest(int, VALUE *, VALUE); |
#initialize_copy ⇒ Object
19 |
# File 'ext/sha3/kmac.c', line 19 static VALUE rb_sha3_kmac_copy(VALUE, VALUE); |
#name ⇒ Object
Digest properties
26 |
# File 'ext/sha3/kmac.c', line 26 static VALUE rb_sha3_kmac_name(VALUE); |
#squeeze ⇒ Object
34 |
# File 'ext/sha3/kmac.c', line 34 static VALUE rb_sha3_kmac_squeeze(VALUE, VALUE); |
#update ⇒ Object Also known as: <<
23 |
# File 'ext/sha3/kmac.c', line 23 static VALUE rb_sha3_kmac_update(VALUE, VALUE); |