refactor, decoupling functions + encryption, new key exchqnge every 5 sent messages

This commit is contained in:
2025-03-11 13:28:25 +01:00
parent d4e55289a8
commit 49f867fd76
7 changed files with 64 additions and 51 deletions

View File

@ -1,4 +1,5 @@
import { ab2str, str2ab, exportedKeyToPem, pemToKey, genKey } from '../src/public/ecc.js';
import { exportedKeyToPem, pemToKey, genKey } from '../src/public/ecc.js';
import { ab2str, str2ab } from '../src/public/arrayutils.js';
describe('ecc.js functions', () => {