Class: SHA3::CSHAKE
- Inherits:
-
Object
- Object
- SHA3::CSHAKE
- Defined in:
- ext/sha3/cshake.c,
ext/sha3/cshake.c
Overview
CSHAKE (Customizable SHAKE) is a family of functions that allow for domain separation and customization of the output. It is based on the cSHAKE algorithm defined in NIST SP800-185.
Defined Under Namespace
Classes: Error
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: #<<)
Define instance methods.
Constructor Details
#initialize ⇒ Object
18 |
# File 'ext/sha3/cshake.c', line 18 static VALUE rb_sha3_cshake_init(int, VALUE *, VALUE); |
Instance Method Details
#digest ⇒ Object
Output methods
29 |
# File 'ext/sha3/cshake.c', line 29 static VALUE rb_sha3_cshake_digest(int argc, VALUE *argv, VALUE self); |
#hex_squeeze ⇒ Object
32 |
# File 'ext/sha3/cshake.c', line 32 static VALUE rb_sha3_cshake_hex_squeeze(VALUE self, VALUE length); |
#hexdigest ⇒ Object
30 |
# File 'ext/sha3/cshake.c', line 30 static VALUE rb_sha3_cshake_hexdigest(int argc, VALUE *argv, VALUE self); |
#initialize_copy ⇒ Object
19 |
# File 'ext/sha3/cshake.c', line 19 static VALUE rb_sha3_cshake_copy(VALUE, VALUE); |
#name ⇒ Object
Digest properties
26 |
# File 'ext/sha3/cshake.c', line 26 static VALUE rb_sha3_cshake_name(VALUE self); |
#squeeze ⇒ Object
31 |
# File 'ext/sha3/cshake.c', line 31 static VALUE rb_sha3_cshake_squeeze(VALUE self, VALUE length); |
#update ⇒ Object Also known as: <<
Define instance methods
23 |
# File 'ext/sha3/cshake.c', line 23 static VALUE rb_sha3_cshake_update(VALUE, VALUE); |