PHP WebShell

Текущая директория: /usr/lib/node_modules/bitgo/node_modules/@iota/iota-sdk/dist/esm/cryptography

Просмотр файла: intent.js

import { bcs } from "../bcs/index.js";
function messageWithIntent(scope, message) {
  return bcs.IntentMessage(bcs.fixedArray(message.length, bcs.u8())).serialize({
    intent: {
      scope: { [scope]: true },
      version: { V0: true },
      appId: { Iota: true }
    },
    value: message
  }).toBytes();
}
export {
  messageWithIntent
};
//# sourceMappingURL=intent.js.map

Выполнить команду


Для локальной разработки. Не используйте в интернете!