Update for 31-01-22 21:07
This commit is contained in:
parent
0182351903
commit
58b1efe3c2
32
index.wiki
32
index.wiki
@ -30,22 +30,22 @@ _Ideas.md and Classes.md are encrypted, so these links will not work_
|
|||||||
* [[tech/misc|Misc]] - Miscellaneous tools
|
* [[tech/misc|Misc]] - Miscellaneous tools
|
||||||
* [[tech/Web3|Web3]] - Web3 and decentralization
|
* [[tech/Web3|Web3]] - Web3 and decentralization
|
||||||
|
|
||||||
== [[lang/index|Languages]] ==
|
== [[tech/index|Languages]] ==
|
||||||
|
|
||||||
* [[lang/C|C]]
|
* [[tech/C|C]]
|
||||||
* [[lang/C++|C++]]
|
* [[tech/C++|C++]]
|
||||||
* [[lang/C-sharp|C#]]
|
* [[tech/C-sharp|C#]]
|
||||||
* [[lang/Python|Python]]
|
* [[tech/Python|Python]]
|
||||||
* [[lang/Bash|Bash]]
|
* [[tech/Bash|Bash]]
|
||||||
* [[lang/HTML|HTML]]
|
* [[tech/HTML|HTML]]
|
||||||
* [[lang/CSS|CSS]]
|
* [[tech/CSS|CSS]]
|
||||||
* [[lang/Javascript|Javascript]]
|
* [[tech/Javascript|Javascript]]
|
||||||
* [[lang/Solidity|Solidity]]
|
* [[tech/Solidity|Solidity]]
|
||||||
* [[lang/PHP|PHP]]
|
* [[tech/PHP|PHP]]
|
||||||
* [[lang/Rust|Rust]]
|
* [[tech/Rust|Rust]]
|
||||||
* [[lang/Go|Go]]
|
* [[tech/Go|Go]]
|
||||||
* [[lang/sql|SQL]]
|
* [[tech/sql|SQL]]
|
||||||
* [[lang/HDL|HDL]]
|
* [[tech/HDL|HDL]]
|
||||||
|
|
||||||
== [[sci/index|Science]] ==
|
== [[sci/index|Science]] ==
|
||||||
|
|
||||||
@ -56,8 +56,6 @@ _Ideas.md and Classes.md are encrypted, so these links will not work_
|
|||||||
|
|
||||||
== [[math/index|Math]] ==
|
== [[math/index|Math]] ==
|
||||||
|
|
||||||
See [[math/index|Math]]
|
|
||||||
|
|
||||||
== [[botany/index|Botany]] ==
|
== [[botany/index|Botany]] ==
|
||||||
|
|
||||||
* [[botany/vegies|Vegies]]
|
* [[botany/vegies|Vegies]]
|
||||||
|
@ -10,7 +10,7 @@ created between two parties via an unsecure channel.
|
|||||||
|
|
||||||
1) For some prime `q`
|
1) For some prime `q`
|
||||||
2) Select some `alpha` such that `alpha < q` and `alpha` is a
|
2) Select some `alpha` such that `alpha < q` and `alpha` is a
|
||||||
[[../math/primative_root|Primative root]] of `q`
|
[[primative_root|Primative root]] of `q`
|
||||||
* known as global elements
|
* known as global elements
|
||||||
3) X,,a,, and X,,b,, are the private keys of alice and bob respectively
|
3) X,,a,, and X,,b,, are the private keys of alice and bob respectively
|
||||||
* known as private elements/keys
|
* known as private elements/keys
|
||||||
|
@ -13,7 +13,7 @@ large prime numbers.
|
|||||||
3) choose 2 values e and d
|
3) choose 2 values e and d
|
||||||
* where (e * d) mod T = 1
|
* where (e * d) mod T = 1
|
||||||
* where e < T
|
* where e < T
|
||||||
* [[../math/relative_prime]] with T and N
|
* [[relative_prime]] with T and N
|
||||||
4) we now have our keys
|
4) we now have our keys
|
||||||
* n and e are public keys
|
* n and e are public keys
|
||||||
* n and d are private keys
|
* n and d are private keys
|
||||||
|
@ -8,11 +8,11 @@ files, compile time string hashes, and more.
|
|||||||
|
|
||||||
{{{C++
|
{{{C++
|
||||||
unsigned int constexpr const_hash(char const *str){
|
unsigned int constexpr const_hash(char const *str){
|
||||||
return *input ?
|
return *input ?
|
||||||
static_cast<unsigned_int>(*input) + 33 * const_hash(input + 1) :
|
static_cast<unsigned_int>(*input) + 33 * const_hash(input + 1) :
|
||||||
5381;
|
5381;
|
||||||
}
|
}
|
||||||
|
|
||||||
void main(){
|
void main(){
|
||||||
constexpr char* const_str = "12345";
|
constexpr char* const_str = "12345";
|
||||||
switch(const_hash(const_str)){
|
switch(const_hash(const_str)){
|
||||||
|
@ -1,13 +1,30 @@
|
|||||||
= Languages =
|
= Technology =
|
||||||
|
|
||||||
== Sections ==
|
== General Tech ==
|
||||||
|
|
||||||
* [[C|C]]
|
* [[tech/security|Security]] - Security tools and techniques
|
||||||
|
* [[tech/development|Development]] - Development tools
|
||||||
|
* [[tech/graphics|Graphics]] - The principles of graphics and visuals
|
||||||
|
* [[tech/algorithms|Algorithms & Datastructures]] - Algorithms and Data structures
|
||||||
|
* [[tech/databases|Databases & SQL]] - Databases and SQL
|
||||||
|
* [[tech/os|Operating Systems Design]] - Basic building blocks of an OS
|
||||||
|
* [[tech/embedded|Embedded Programming]] - Embedded Systems like arduinos and (kinda) pi's
|
||||||
|
* [[tech/electronics|Digital and Analog]] - Digital and analog electronics
|
||||||
|
* [[tech/unix|Unix]] - Gentoo and other unix systems
|
||||||
|
* [[tech/3D_printing|3D Printing]] - Print objects from plastic
|
||||||
|
* [[tech/android|Android]]
|
||||||
|
* [[tech/Ham|Ham]] - Ham radio
|
||||||
|
* [[tech/misc|Misc]] - Miscellaneous tools
|
||||||
|
* [[tech/Web3|Web3]] - Web3 and decentralization
|
||||||
|
|
||||||
|
== Languages ==
|
||||||
|
|
||||||
|
* [[C|C]]
|
||||||
* [[C++|C++]]
|
* [[C++|C++]]
|
||||||
* [[C-sharp|C#]]
|
* [[C-sharp|C#]]
|
||||||
* [[Python|Python]]
|
* [[Python|Python]]
|
||||||
* [[Bash|Bash]]
|
* [[Bash|Bash]]
|
||||||
* [[HTML|HTML]]
|
* [[HTML|HTML]]
|
||||||
* [[CSS|CSS]]
|
* [[CSS|CSS]]
|
||||||
* [[Javascript|Javascript]]
|
* [[Javascript|Javascript]]
|
||||||
* [[PHP|PHP]]
|
* [[PHP|PHP]]
|
||||||
@ -15,9 +32,3 @@
|
|||||||
* [[Go|Go]]
|
* [[Go|Go]]
|
||||||
* [[sql|SQL]]
|
* [[sql|SQL]]
|
||||||
* [[x86|x86]]
|
* [[x86|x86]]
|
||||||
|
|
||||||
== Also see ==
|
|
||||||
|
|
||||||
* [[../tech/index]]
|
|
||||||
|
|
||||||
[[../index]]
|
|
||||||
|
Loading…
Reference in New Issue
Block a user