Module: TEA

Defined in:
ext/tea.c

Defined Under Namespace

Classes: Key

Class Method Summary collapse

Class Method Details

.decrypt!(data, key) ⇒ Object



122
123
124
125
# File 'ext/tea.c', line 122

VALUE rubytea_decrypt(VALUE self, VALUE data, VALUE key)
{
  return rubytea_exec(self, data, key, -1);
}

.encrypt!(data, key) ⇒ Object



117
118
119
120
# File 'ext/tea.c', line 117

VALUE rubytea_encrypt(VALUE self, VALUE data, VALUE key)
{
  return rubytea_exec(self, data, key, 1);
}