smesh_lol_web_common_jsbridge_poly1305.mjs raw

   1  // Package smesh.lol/web/common/jsbridge/poly1305
   2  // Generated by MoxieJS — Moxie JavaScript backend
   3  
   4  import * as $rt from './$runtime/index.mjs';
   5  
   6  // Package-level variables
   7  
   8  export function init() {
   9    return;
  10  }
  11  
  12  // jsbridge: poly1305.MAC
  13  export function MAC(key, data) {
  14    return $rt.poly1305.MAC(key, data);
  15  }
  16  
  17  // jsbridge: poly1305.Verify
  18  export function Verify(key, data, tag) {
  19    return $rt.poly1305.Verify(key, data, tag);
  20  }
  21  
  22