wallet-core/packages/taler-wallet-webextension/encode.mjs

4 lines
158 B
JavaScript
Raw Normal View History

import {encodeCrock, stringToBytes} from "../taler-util/lib/talerCrypto.js";
const pepe =process.argv[2]
console.log(pepe, encodeCrock(stringToBytes(pepe)));