Module: TEA

Defined in:
ext/tea.c

Defined Under Namespace

Classes: Key

Class Method Summary collapse

Class Method Details

.decrypt!(data, key) ⇒ Object



120
121
122
123
# File 'ext/tea.c', line 120

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

.encrypt!(data, key) ⇒ Object



115
116
117
118
# File 'ext/tea.c', line 115

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