Skip to content

Commit f76c9ee

Browse files
committed
Blake2b replaced with Blake3 for generic hashing
x25519_blake2b replaced with x25519_blake3 xchacha cipher added primary export object Moving connection IDs to Buffers first instead of strings random connection id functions added cleaned up dead code moving away from libsodum functions Adding SPHINCS in progress New Sphincs_dilithium_ed25519_shake256 in progress Improved more accurate method names use generic names to more easily swap or support other cryptos
1 parent 59b8fe1 commit f76c9ee

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+979
-554
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,7 @@ tempCodeRunnerFile.js
4949
.Trashes
5050
ehthumbs.db
5151
Thumbs.db
52+
53+
# CERTS #
54+
######################
55+
*.rootcert

README.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,27 +7,33 @@
77
<hr />
88
<h1 align="center">UW://</h1>
99
<p align="center">
10-
REIMAGINE|REMAKE|REBUILD --> THE WEB
10+
META-LAYER SOLUTION
11+
</p>
12+
<p align="center">
13+
LAYER SUBZERO | LAYER -1 | SUB-LAYER 0
14+
</p>
15+
<p align="center">
16+
<b>UW/VIAT is a Meta-Layer Solution designed as a Sub-Layer 0 network. It serves as the foundation for both a next-generation Web and a natively supported cryptocurrency. Unlike traditional Layer 0 solutions, which focus solely on blockchain interoperability and scalability, UW/VIAT is a hybrid system that embraces both centralized and decentralized approaches. The Universal Web is centrally structured to ensure efficiency, security, and seamless integration, while the cryptocurrency (VIAT) is decentralized, enabling trustless transactions and complete transparency. This unified framework enables the development of hybrid applications, where centralized Web services and decentralized cryptocurrency natively work together, creating a seamless infrastructure for secure communications, digital ownership, transactions, and beyond.</b>
1117
</p>
1218

13-
<h5 align="center">| <a href="https://twitter.com/tommarchi">LEAD DEV TWITTER</a> |</h5>
19+
<h5 align="center">| <a href="https://x.com/tommarchi">LEAD DEV X(Twitter)</a> |</h5>
1420
<hr />
1521

1622
<h3 align="center">ATTENTION</h3>
17-
<h4 align="center">Are you a dev? Want to go against the grain? Don't like ICANN, IETF, TCP, HTTP, bureaucratic committees and or the WWW? Then join the Imperium today!</h4>
23+
<h4 align="center">Want to contribute? Don't like ICANN, IETF, TCP, HTTP, bureaucratic committees and or the WWW? Then join the Imperium today!</h4>
1824

1925
<p align="center">
2026
<small>To help just submit code or star this repo! All are welcome to the New Web Order.</small>
2127
</p>
2228

2329
<h3>Perspective</h3>
24-
<p>The World Wide Web has evolved for decades but its general design, limitations, & components have largely remained. Our needs & desires have rapidly outgrown the initial design & purpose of the Web. What if the Web was reimagined today?</p>
30+
<p>The World Wide Web has evolved for decades but its general design, limitations, & components have largely remained the same. Our needs & desires have rapidly outgrown the initial design & purpose of the Web. What if the Web was built today with modern tech and a modern view?</p>
2531

2632
<h4>Goals</h4>
2733
<p>The objective of the Universal Web is to create a viable modern replacement for the Web today.</p>
2834

2935
<h4>Is it Web3?</h4>
30-
<p>Depends on your definition. If the definition of Web3 is a fully decentralized Web then The Universal Web is not Web3. If Web3 is the World Wide Web plus some decentralized apps then the UW is not Web3. If Web3 is just the general idea of mixing something like the Web with optional and or native integration of decentralized parts then it’s much closer to what the UW is.</p>
36+
<p>Depends on your definition. If the definition of Web3 is a fully decentralized Web then The Universal Web is not Web3 it's far more robust. If Web3 is the World Wide Web plus some decentralized apps then the UW is not Web3. If we had to use WEB3 then our definition of Web3 is a hybrid Web built from scratch with its own form of DNS & its own data transport protocol paired with a natively intigrated decentralized focused cryptocurrency.</p>
3137

3238
<h4>Where's the name from?</h4>
3339
<p>The Universal Web's name was chosen because of its natural evolution of the name The World Wide Web.</p>

UWProfile/index.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,18 @@ import { decode, encode } from '#utilities/serialize';
88
import {
99
getDilithiumPrivateKey,
1010
getDilithiumPublicKey,
11+
getDilithiumSignature,
1112
getEd25519PrivateKey,
1213
getEd25519PublicKey,
14+
getEd5519Signature
15+
} from '../udsp/cryptoMiddleware/signature/dilithium_ed25519.js';
16+
import { keychainGet, keychainSave } from '../udsp/certificate/keychain.js';
17+
import { read, readStructured, write } from '../utilities/file.js';
18+
import {
1319
sign,
1420
signatureKeypair,
1521
verifySignature
1622
} from '../udsp/cryptoMiddleware/signature/dilithium44_ed25519.js';
17-
import { keychainGet, keychainSave } from '../udsp/certificate/keychain.js';
18-
import { read, readStructured, write } from '../utilities/file.js';
1923
import { blake3 } from '@noble/hashes/blake3';
2024
import { currentCertificateVersion } from '../defaults.js';
2125
import { x25519_kyber768_xchacha20 } from '../udsp/cryptoMiddleware/cipherSuite/x25519_Kyber768_xChaCha.js';

definitions.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# DEFINITIONS FOR UNIVERSAL WEB & VIAT
2+
3+
UW: Universal Web
4+
5+
VIAT: The native cryptocurrency of the Universal Web
6+
7+
SBD: Structured Binary Data typically done with messagePack and or similar structure.
8+
9+
UML: Universal Markup Language stored in a binary format such as messagePack and or similar structure. Can be partially represented in JSON with Binary Buffers.
10+
11+
DIS: Domain Information System which is similar to DNS and is responsible for hosting domain certificates, managing domain certificates, and responding to queries for domains but only returns a cryptographic certificate if a match is found.
12+
13+
UDSP: Universal Data Stream Protocol primary network data transport protocol for UW/VIAT and is based on UDP similar in purpose to HTTPS
14+
15+
UW://: The primary Universal Web Protocol that incorporates the DIS & UDSP into a singular protocol & is similar to the responsibilities of HTTPS.
16+
17+
Hybrid Key Pair: A hybrid key pair is the combination of classical and post quantum asymmetric cryptography (AKA Public Key Cryptography) key pair combined into a singular key pair consisting of a public key and a private key. Used for key exchanges & signing data.

fileTypes.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# FILE EXTENSIONS FOR UNIVERSAL WEB & VIAT
2+
3+
.sbd (Structured Binary Data via MessagePack or similar)
4+
.uml (Universal Markup Language)
5+
.cert (A certificate stored in a structured Binary Format such as MessagePack)
6+
.uws (Universal Web Script similar to JavaScript/ECMAScript)

0 commit comments

Comments
 (0)