import 'dart:js';
import "encrypt_utils.dart";

void main() {
  context['dx_encrypt'] = dx_encrypt;
  context['dx_decrypt'] = dx_decrypt;
}

List dx_encrypt(JsArray data, String key) {
  return encrypt(data, key);
}

List dx_decrypt(JsArray data, String key) {
  return decrypt(data, key);
}