Class: SHA3::CSHAKE

Inherits:
Object
  • Object
show all
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

Constructor Details

#initializeObject



17
# File 'ext/sha3/cshake.c', line 17

static VALUE rb_sha3_cshake_init(int, VALUE *, VALUE);

Instance Method Details

#digestObject

Output methods



28
# File 'ext/sha3/cshake.c', line 28

static VALUE rb_sha3_cshake_digest(int argc, VALUE *argv, VALUE self);

#hex_squeezeObject



31
# File 'ext/sha3/cshake.c', line 31

static VALUE rb_sha3_cshake_hex_squeeze(VALUE self, VALUE length);

#hexdigestObject



29
# File 'ext/sha3/cshake.c', line 29

static VALUE rb_sha3_cshake_hexdigest(int argc, VALUE *argv, VALUE self);

#initialize_copyObject



18
# File 'ext/sha3/cshake.c', line 18

static VALUE rb_sha3_cshake_copy(VALUE, VALUE);

#nameObject

Digest properties



25
# File 'ext/sha3/cshake.c', line 25

static VALUE rb_sha3_cshake_name(VALUE self);

#squeezeObject



30
# File 'ext/sha3/cshake.c', line 30

static VALUE rb_sha3_cshake_squeeze(VALUE self, VALUE length);

#updateObject Also known as: <<

Define instance methods



22
# File 'ext/sha3/cshake.c', line 22

static VALUE rb_sha3_cshake_update(VALUE, VALUE);