1
0
mirror of https://github.com/fenwick67/mastofeed synced 2024-12-21 23:03:55 +01:00
mastofeed-iframe-embed/utils/ensure-keys-work.js
2024-10-13 12:38:08 -04:00

8 lines
249 B
JavaScript

const crypto = require('crypto')
const cryptoShit = require('../lib/apCryptoShit.js')
var signature = cryptoShit.sign("hello world")
var verified = cryptoShit.verify("hello world", signature)
console.info("is signature ok?: %s", verified);