Method: Digest::Class.bubblebabble

Defined in:
bubblebabble/bubblebabble.c

.bubblebabble(*args) ⇒ Object

call-seq:

Digest::Class.bubblebabble(string, ...) -> hash_string

Returns the BubbleBabble encoded hash value of a given string.



101
102
103
104
105
# File 'bubblebabble/bubblebabble.c', line 101

static VALUE
rb_digest_class_s_bubblebabble(int argc, VALUE *argv, VALUE klass)
{
    return bubblebabble_str_new(rb_funcall2(klass, id_digest, argc, argv));
}