Method: EasyPow.search_sha256_ext

Defined in:
ext/easy_pow/ext.c

.search_sha256_ext(prefix, suffix, length, target, mask, chars, paralell) ⇒ Object



142
143
144
145
146
147
# File 'ext/easy_pow/ext.c', line 142

static VALUE search_sha256(VALUE self, VALUE prefix, VALUE suffix, VALUE length, VALUE target, VALUE mask, VALUE chars, VALUE paralell) {
  struct search_condition cond;
  cond.hash = SHA256;
  cond.md_len = 256 / 8;
  return search_general(self, prefix, suffix, length, target, mask, chars, paralell, &cond);
}