Skip to content

Commit ef35104

Browse files
committed
WIp WP Update
1 parent 23e887e commit ef35104

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

VIAT.pages

-57.3 KB
Binary file not shown.

components/cryptoID/index.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ import logMethods from '#utilities/logs/classLogMethods';
2121
import path from 'node:path';
2222
import { toBase64Url } from '#crypto/utils.js';
2323
import viat from '#crypto/cipherSuite/viat.js';
24+
const securityTypes = {
25+
hybrid: viat,
26+
quantum: 'quantum',
27+
legacy: 'legacy',
28+
};
2429
export class CryptoID {
2530
constructor(config, optionalArg) {
2631
if (config === false) {
@@ -72,6 +77,7 @@ export class CryptoID {
7277
async generate(options) {
7378
this.signatureKeypair = await this.cipherSuite.signature.signatureKeypair();
7479
this.keyExchangeKeypair = await this.cipherSuite.keyExchange.keyExchangeKeypair();
80+
options?.type && (this.type = options.type);
7581
this.generateAddress();
7682
// console.log('KEY EXCHANGE', this.keyExchangeKeypair);
7783
}

utilities/cryptography/signature/experimental.js

Whitespace-only changes.

0 commit comments

Comments
 (0)