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



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

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

Instance Method Details

#digestObject

Output methods



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

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

#hex_squeezeObject



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

static VALUE rb_sha3_cshake_hex_squeeze(VALUE self, VALUE length);

#hexdigestObject



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

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

#initialize_copyObject



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

static VALUE rb_sha3_cshake_copy(VALUE, VALUE);

#nameObject

Digest properties



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

static VALUE rb_sha3_cshake_name(VALUE self);

#squeezeObject



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

static VALUE rb_sha3_cshake_squeeze(VALUE self, VALUE length);

#updateObject Also known as: <<

Define instance methods



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

static VALUE rb_sha3_cshake_update(VALUE, VALUE);