Quick Blog Links

about   root @       
 
  MacOS/iOS Applications   [x-code + objective-c]  
 
  SSHPass Automation Program   [python / app]  
 
  DHCP/ARP Relay-Bridge ~ Proxying   [c / lan]  
 
  ARP Sync + Route Replacement   [python / networking]  
 
  DNS-VPN ~ UDP-SSL   [python / networking]  
 
  OpenVPN MODs ~~ BULK ++ MTIO ++ DUAL   [c / networking]  
 
  VPN Multi-Proc/Thread TUN-TCP Full-MTU Bulk-Data EXE   [c / networking]  
 
written   Secure LAN Communication   [College Thesis]  
 
  College Project – Teaching Hacking!   [Course Paper]  
 
  ARM Assembly – A Basic Introduction…   [Blog Post]  
 
configs   Dual Minis   WiFi Networks  
 
  Mac Mini ++ Lenovo Mini   Firewalling [eb||nf]tables  
 
  Cisco and OpenWRT   NFTables FlowTable  
 
  Ubiquiti and OpenWRT   Routing ~~ Balancing  
 
  Home Stuff      
 
gear   vpn   @@   xorcipher.com              
 
 
# Note: github.com/fossjon <- I lost access due to missing 2fa, so now I'm using -> github.com/stoops
for p in `seq 1 3` ; do
  curl -sL "https://fossjon.com/feed/?paged=$p" | grep -Ei '<(title|link)>' \
    | sed -e 's@<title@~<title@g' | tr ' \t\r\n' ' ' | tr -s ' ' | tr '~' '\n' \
    | sed -e 's@^.*<title>\(.*\)</title>.*<link>\(.*\)</link>.*$@<a href="\2" style="text-decoration:none;font-family:monospace;">\1</a><br/>@' \
    | grep -i '/fossjon.com/'
done > blog.html
   
   pages  
   1   2   3   4   5   |  6   7   8   9   10   
 11   12   13   14   15   |  16   17   18   19   20 

Post Quantum Key Exchange Cryptography With The Help Of OpenSSL In C

There has been a lot of talk and rumors regarding AI and quantum computing and how there may be future attacks and breaks on the present state of cryptography (such as RSA and ECC even if you use huge key sizes). I was starting to do some research on post quantum crypto and there are some algorithms which are based on lattice matrix calculations which is math that is way beyond my knowledge. I started looking into if the openssl library included it and I found some methods that can be called to perform a similar key exchange to ECC ElGamal. The algorithm is called ML-KEM-1024 combined with SHA-512 at the end to create a shared secret symmetric key. You can generate and set the public/private key pairs for the server and client and then they can perform a key exchange together.

Note: The only downside I have found so far is that lattice matrix math does not have the exact equivalent of point multiplication due to the error noise security design so there is no practical way to replicate ECC DH unfortunately!

Example output of: key generation/exchange, secret generation/exchange, and symmetric key/secret calculation


[server]
         private 481b4fc200bd4a21c8340814017ba98fe84d271128d0f6b10ed3b700dd283ae13e1c204c3e559dcb6106398a2a3057a9658b6a3930b6b2665beafa61810b32090ac1b9e315f62ab9046744d330cd20183d1c51b2edd95ee6a975b5531cda35ac284b04ac8655d2a34fb622aa5ce601ef3733e672cf3b33c985432ddd837a7503
                 a1f7514e31974fa3b76295cc6e59aab0f156510dd59dbe4a17f3fb85a4d15677785ffd87a97bb8007bf7a55ba3cd1666bbd4728d6594aad1a344e9e780b88a5ab15834c36388c7189e4303a9e56a32adf40216cbc1c9072f27e749582bbecd833f5a4b5c8dda47eb6684fe6b19721a54ccd850d3a7112f5cad6dd56e5bb74221
                 a03d8a2558a01785bc6032ebdb8d3bfc9bd6cb397c668699dbc75c6559f7d9b7657bac78e1994108a0a93b955f368eb1bb4e02287b8757afa63b9aefa56c93337739105f3d845e3e87a44636ae5bf231d1f5a3fe294da0a42d08836f22469f50375e1db3177b762d0771714b819fc857332bc135f194608cc59f31086cf5a9a1
                 ba6cad0fb4337a8b7e287155a303ccc66bcf240712fe1bae9c522f0217bc21fc39c7888d6fc49b99e46cf8f1be950914e1f23c7f7868642614ebf2a43cba60c908c621524b9d866d4e842c78878aa6a87e176919484c8b9cdc2a0800bb72ba5c0aba787bb5a61d2781cac03265bb13d8bb2d2769bc149a8d61a53566b22130ac
                 01b3586dcee1468379a0de16b1df95010c732cc8a18773f37721fcacbf2caf149c610bd90bc35793f102cdb4b6b16281c6afd021db382c9ab9034d6965e4d0987bb73968f55a49971d949086bc5984af0886f91c8f6eb34718c8cfabc377ddcc77a7ab0e16732b48b5a2d1607a9b41717e4494c7a10fc53353601593ae4733d9
                 f9b7a9fc8eadfa844ea25d16608bab4a9700f96edbd0072cf40584227382e9416b455481446e90142e8fa70c9bf942e7311c3a2457ced79000005ead0a8b906b6716781bb939b9ade7c6a5dc07c34445f82095bc8c21911173dbb6b1ea97099f6b3bbda57fdd324548c36452109584281765a19daf96015a5a9b06426e4b556d
                 ea162ce772cb323b3eca8a42d0d83493a48cb1fb13fabb62f58a31ab572eebb214303792c57c486d254d1f42a4b69bb683e6676ab257ac9779ef9c30ed7bbabffacbc9235c66f7c7efca0b053c183846c5533416039936cc549c1ce444895230263c7dacdc2305da27500cb15f84a398804826661ef386004ed9aaa8c62be99b
                 336aa39807d4321da293cd71929bb85d23555a18768aac214ddc0468d7b285c195316bab40740754e5520d0991777ebb914a51924aa306ea557c8e6a033100a0db2aa936e0bc57b1650912595cb6439a3103e4345032fa83403ba2a192ab64955f3ce9a67eea8428bc3ebf319990511b2ab4b558193a97501c4191a37b405915
                 5aa930690951172f2da3177a1b604d61bd4f1a8ceef6343b42bba4c65f80754eb94b7b6977376f495c47b6c93d6c0932ca9ea8aa90f0d5719d6660bd5894b69b5ad264392e2950905c16b7356c3e48579d7a03153c16bc827bcc785797464f480150078630ad4982c552cb02da2d9a1768bf955654d916451a32a67297547c03
                 d300ac035374b9c3ac18e4aad1fba006097af614c131c82914d42d0f88a0f22524297570656b5e23c6266b054b6c54179d62c6bfe083d005182898c519f00d6fb32d0035c295544304b9367bd141c6204e36129c6448badb6a1b91c8a52016c2497a4a2086abb1572c14a088151b41676a42c5b35fc0120323957ecdb00ca144
                 28c571cde94bcd7070cf92073a59d7695bc746bfb6a92f564fc32285a4cc0c38c68759c32edc88a63630cca81c9294ea233422b5a2f2a5f7ea1d508a4aab543a49e759eb162c5bb76ae7cac8135c445f3997a0ca4301fc2ec9b26f4d417b27030100312db87c8963c1190cf820872a1c0fe3cc20ec708cc4b723128209fba7ce
                 6c57483a35f9b72ea2f7a23f3839e347c5f3ca08ecc5b3799349fc677fc0782e72a240fe217bedf01bf0766df7f19c67c8c901216b29d37ca2f0cc0aa266366c24fd418fd2630dfd625b50dac8ece3087de565717c3dd242aecb08b29bd24de1e6813f06752da82165da044c655ae242c192f2b89923cb4f929486c3c3761285
                 17a29fa56c67c77b6dc30c38b2657556568ba7bb72b3722005e1415364adc60754daf9b5db17ac91a5c8ace464b6c94129e41ce3a78a13e3836dd72f6a79b73b4377fd2b9b4b6bb4a586a5d5f85e1a2375284a4006c86b4359b975f6026db042b15c1a5175538bc804c2e0231150a5ce1917b6203ee21b0097249d98860c97a5
                 52d86847da6452c0e6591f97caaab05273d446c4059128d63ec2d26b821caf82842cedc7a02694c941f4982f7247a25bc4319b793fb4bf2c11a34e74186faa11b2e4b5c4b0a5b6b7688136a69b2987a392c5ee7661292190d299caa590521ac66c72a46fcebcc317f87a99f5c123baa879450408a156b59c4989967b14301ba5
                 7455829b583d6448d1b237b3c5bcd7311c9b447f203243ce368eee480a8deb2a778a2ff49b625d820e145ab86d94c3d8720258f952aa8456349459010220f6f00a9a7a0d5d8a23c740556b854088c907184cbe74d4b41147a197c1ac390557aac349bc17a87822ca0da7cdace226c2d6a585456c8fa61e09f80605f33eb93307
                 0a4a12e8f9802b4049fd3656b0c98f4efab15a09ccdc22880236cbeb92aefaa334f5837fcf1a46b60895c71b8c0c60ce019a388a63a258e14a3845349e20c5d46cbe1cfa7ccf99666281695ef1b5546776b2734672b84eb1d0455f6150a6b8573bac8a184238acd05997e733fca22131d2c07f2b3b908b05fc37a4376444bf89
                 4096160640da431b988f949608aa30a3fe7673b3fb4d93819fa14575e6771c69084a148c3e22c3672f41b6ce50238f98c11f665067d2c87ba56fc0135fe02858d8a3c5f350a3212c6254a988a355458c8311b5862672e8bf5d459bb1ecb1f48c6a713498c89a7c339998fc9b69088124bc2ab98af00da1e8cd75d98c1625009c
                 d206f4db0bdb3627d08b5c28102e6be7b8759406eddcacf4ebb40a54c81d31b3106c31842b0e7d02033f7b2f1073933fb8a22e20803fac7589513769759b0d99bedfdbb83b13a8408c381fc51da9d007351600fbbac84ca71e9dd296791495e305ac027652905450ae40c6240376731275d5f15b090b243e602c87a5548187a1
                 da2a10e5eca29ed51592a33f3e6848983793c6c8b9325730afb8a31b59951c946e778b7bc5651188d158123264afc056398594cac04e66e276dd09b2269cbaa03975f0d83222a7a0f6584213529dbea435b95943794806d413c82e136e86f06cbae52028833843a58a3cab5735767f1e9a7383c34a65544acb5907a0216119b6
                 57972b8828732e6a7a36769148da64a5d573038fb22531cb45da8172ab804d9854b755d4cafce181a0e51eb6629d5d0430bb450b1d1a2ea1323f20d2293dcc09433c61219b3532b45ea732160e04641d396c623c5dd46c2c974bb1a1e2363110706e695798184e7bb00fea24c3503894fe6631ab2638f192b8402ac4c194b409
                 1a6d15c4c85a2a5f586153acd36c1b89ca77fb3f05754757da78f6a8c13217c26f7cb08b6bc32e4724b7a0a4a46441a5c25878244d7337c84df70fe254a8c11432a333c5e3846c20b44146a0a8bffbad49fb5f6a1a113092cb89d3ab4bf50fbb95b39f980db72a1541d48973f79471216eaa2c6e29696890404e747964acdb23
                 68521f2d1bad75719b127a55341126d58c934f98c56eda54f13789a7e3b7bfc218f1a0079ee37fa255b63303675588cbde278f05b2ba40b695da134ce35caa1e7742727a07810b0ce7253ea68457d6e7a1a5715c857c990ec77615d75cbd135387784eee390a45e7bf95a9b1374ccf973a4da33617b88982f3a09438f998d3f6
                 84b3ac8c5a32c79d948738517b28e16ed627babd498ac1328edba911f144cac55814d880482186cf02b47e62313fd947612795961986c45ac84a6ff87a9a2a8682c0483e0a9fd8f07f5c8a9c11b0856ea19d0db346f23396bd079af231cf55403bb7630c98a32029fa12b1917cd6f199ffb686a5c825badc9ce24685cbea0aa9
                 7362aeb3c02e0b19e528bbc05c1bcd0cb8f55442bdc83914c3bb1b120461976e0f3094a7e4b4c212a0dc9586e9e9a1edc8afd949b16b74b60ef715ff42c3ce48b195769a534801ba6b0883a8c59f728c38394a48911034e16a6fcb1256478c45a92f33a4068671c2cab256fc12824abb257a767ab7a8c2eae4b44c29254c4570
                 e51fb3ae732c97c44bafaa8dc18f4e38871b23a46c90c0216b08ba9faa6a242de34816a6b433c9ba57474c3c517cfbe41948b86b01b5c3bdcf754e56be1ebce6c425047b2f5fad98f698ebb4bd327e2bc8dd3ed664ccdbfe62b361b3f806e0a2

          public 93ec80c1186886cc981807b9113c2855ab804a169179fa660a644f2684c2ddaa4deb3533a8d73e87c52c1d76c0f3864b336ac06d8094321b13cf0839c013b881928f1bd0b06d0904647919a08c44bef405e88547dc4657f00624ce21251211a765f5482aa647f2fb405977059c4b4dc592440618b18f35718e1a86f1529ce33c
                 8293ca74aae0900ac5055f58284b68099db715fda46a0b8bb723f99a8b613d54fac7fe10ba3f0bc27427cfd74439f5c1ceb485bae723217574a3aa703152a540efd56fd388a164977f9e29329ec66f34666170c182ca8065d8b7153c2380cb7481b7372b34d09c6933110c9b1d379ac9e3d28d6c394ea7ecb24f048a1ef577c7
                 7b186c13b5afd85e8043cff439869704217fd7617671c29e75a2bd2246774406ba4a55dc1a0ca0aba34fdb32ce9a21ffd95e5ab8592e1a0a98c0803bd24f46361d1ba82e9533537c5701355b8c24b7170b2805c0978cd5d7120e7241a96b1dd17c9ea9c499a2502e306bc8e1796a0bca77aa6cae7d507af8ca964a23a18618af
                 0f0b8520605c876c1514c053e1d857e3d4124100d0d8bb1538fa8bd1d1af1f62748ba1367390076546866a7770cd6c5883d34281ac9c588136d7e999abdace9b83147c6366ecf561af496581f90d3c0839144101e4393c8806287be1615122761183ade8e16f49cb2371f11e864669dfdb85795409d8d8b159da18d9d48f09a9
                 8f6c11a3b64535aab7613af619d4e4a10be74650325e70c378d2e35d483296f7666b9247526f02c5db9bb72fc0a55ac001512ba98021b45afaa99d6448ceba5b2c16a28270327b11871e358e610c4b6f728dbc26824ceb4f971c1878cc7424438dd615539f83047ad58f9f52b36f559ecc919febb5867b041522b11577131055
                 01ac64f43c887870e0db073525687ef7c269382d175a363b952b5411be448b6e7b407dfa257a23010689dab06fb01e0d56114c641fed5422819748b3a867485821027a31e77938638cc77e141d46e032551833ae968083b29c339c57e64aaedc01a543a842041b0f96b28aeac1c191d583b4ea6147e469517c831f11764069b7
                 fdb42ec5438b55212d98595f9498581b8a77717b97172225bde79d7f02480c97c45ad3694a6c36c24aa989c153f4275691b8a166789f673b7ca2a24ff0bc1edda371ffa1cf566b87dc9530c4c0495076aa56d24080e2629421ca448cc62ea4b17a987e4842880019843f85b09b1398df7584c0664c81b0bcb0f45ca59313cad5
                 ce52cb05c419271ea3bb05dc1bdd3b6a4c32373741709c1c73d5cbc6dc2075e0c204689a6251957c6e4443b9c0b01ec91f72c3afb0e6b53062b73f1c8f6d2827aa9804ca9c164614c82bc15d8dcc01c0da380f76836a801b26a46908720842dab94a422991a47b6a359392c42d4e875879b91f865a437263b704522c06525c27
                 0b3eff868c4dd233b8ca1b17671709799508c07e36d43003128fb20a9fc78b35ca918f95243233e721be6bc1ad25a63e0232c1d85daaa159960030d6f7592bb31aa1117356736b9172be0b19be18a56128b9a4586784b6e26ae9145142a390018779ab92177e0b5d628b9ae99c12ecdcb32761a1114a04977c5d0e9371b9a02b
                 2b94bc7b28b91b4b014a78a507b553bcb78a3be04f62622161e29764c3718e74cb4c758f556a6c5570a9ce9b3484283495e892b4039aefe8031f13a34027b5665658b1f39b8552180a7a839d40c1fc327ec2ebb5d7237a222262f9dcaade750d71765294f127df636de5901f7be58aeff54a780b7401bcbd72b68152c80d2458
                 a0bcbc6c4b187f1cd258d9ec75c62b512a59331c56cf68c708e7fb62ec4c1b10055c0a4482f2810727f3877b45c72b7291c0c1965f7a41cee9b6b0e6bdf4701428264321a8a4588563a41c34dac740908c780507b5833391e723b650f64cb73565133a33f2a544ea7b70bb0887e794530c43745d27bf2d9b022f82992538299e
                 36a02e73660e565c81867d94d9b66329762e13cb5c4b48381213bf7b410c88620227425d34bdd437833f48127686473fcc2b2bf0b25e63441541806d1254178726cfb280c8507d0bd393c74a589d2971f8cc6bb771766e859987c3bd5b1a746aa4b32a7a2a9e4703d4e745cec4bf58894f73e459cb8cbf780caaa391948cbc00
                 eff3640db8c25433a835ee1192b67dfe704753b606c3b53e0638f18c0ed87aaf



[client]
         private f4664bda51802f0bb4d01a95ddf718af5ca5517581f4411fcd97abe1300b750acb84b2187744adaeba466fe5a91c65b2219189ed5172d1c31531e864c3262ceba11effd6a77e9192c0aa13ce6949d832b49ce63537e7a16e647848c406e10a1ecb895dd4f9a12c0bc12584677b4493e9d2c6963b4ad3f1466b4b8a6fa52123f9
                 9b10ea50e40a7b32167e8fd5add573bc9071a8a0952c5f897cc3e2bda3db2b8aa898d1a93693697813e89096dccb7a953081cc6b86c2c9404cc119184c59255ed02a7726a4211fb6b8b068b614995ee9fb4ebc64417399759b9630812c3fd4d27486f919d01a024de199d5025119d21c0c83b59f230ae8b5749f595d53616e83
                 583651ab3c6f070442f269970ca7ae6bbb928639171c6c09ccabd264c8438059e6c811d336926fe8376a511313201d1cda3c47364a3df53e43098788fb6c8b4757454245d6ea22f2c58cb3268df15747e5f00df2b95552082bace73181acbebd52ac85118abaf78e4356c2f8ec78a1f001678190a8f45e431272a477b148e985
                 e1b19e0eb54725391b7a837ecb48cd599b8421a8b47c0bab1630bbb1249475001268b3526c666511815373f38304c33beaa0cd31ecc0bb1b729b1213e322a134e00be9441569286b1ea1851b056381312b78b05c0fa6c33b2bc2e5417c93183be3dcbf7f5b394303a3663b5480ea0ed7101c020c55b0713351ac01369731561b
                 413947212814170e4bb07a267b44964a4f4616decb7541001f7c6995c98cc62df02ad1a4904bb01c8c3789b7aaaff3707406bc3946812601324428448fc223639322a34f092bdeb7b5dab6607f2a50e3dc780080272e6959c490c2ffb5126296ac9e6bad5f9865006babcf1422349ab06e009ac3133a4a0a14848721ab228abb
                 98a97d559b8b20b44e703082b46d8ad213d6cabe5cc831a9ca7bca7574ac311c51db7338b8280f99cfbecaae97d30f654c872fd8c2b9c65f933049d9e2cd695613be3408f7426c5dbb4dabb28b20c4036870add6698e6d0a1e4412c2f28a04dbb08e81a040664c343445041b7a7518c30b64a534be1557a6d261c7c7aa146427
                 baf10aa77217f1db00d9d2445d076aa219692bc4880cfcbc310c5ce7da7bc6612cc78240c571bbf0ba05977783d3a70cd8d76e14e28ea56cce8ff41d3db155442a3f2f29be21875243eb4701c728ed6327be759e3bca5dbdf3b4a9dc1d9cf0a2b5bcc42b1612d9928852d8c1b795126b31adb08c8dc0c8929de1a29152b71fd7
                 c3c3911f1ef09cc949709f293a3576756a3838677571258205cf5774bfa30f532098aa9404005bc0bb61cb338c0f2fe656ca4a46c6e58fa8d64049784157753a38044435a0174c1191d5e913885475f84694db4c7cebf35c2e3887974271fa8603bee1290f2913b5da44bd414da495a4e6797dfa681e0ad54433516a9ee5881e
                 7735ba675ce2cba891f8766198522d80b4925a93f312ab2b98826543018874401ca4cae7215a7e0249e585343891150e313e14b277aa1a849854693e106482e8401af8b289b30dbee1bb0fe218f41aa493d7133328bd3ac52f4598141fe130a0b33e7d6ccd27d7594cd4a3b37ab6a2764e34d78369285a26e04830105613f9a6
                 42e8c2d2aa6936525dc652cdc9e7779167638a79b6c883b0865494ee17c8b30c9e8dbc93aea5c6b1a71da7f50fd4a3bb0280c425499e165a38020c7b505b0d0fb98f51507bd6f77c9a66578c5a2438ab256a5609c6b07bcdc93b92a3c316aca12e1b3f6bb574904327f574679e5776b7a2674a145aee2989d9fb12c7c82e1468
                 1abb2502c6d988dc7473431b8df74019be4c95085b08e251b8001c0dd04437189161f778370baaaca7eb6892c43ede385ea41b14f1435635d135fc80acacb44fa172a9f6455575d9afcbe83814437ef157c2b6605c9da90114844497dbc410b55eeb1b3cbc5c48cc539101ac79bdf051b7978068b033b3f25466eb3ac462cc11
                 7cc797ec63c642cffda02d3ae953f6d9ad78c6b6ffd63c5e2b093550cc54707cef61726835b056d090e516804b3991d0bb860094b3e75981106b5086f21a4dd0c86899bfe170a966627221077f7f9b3bc35bc9abb85a5f3313434c5066f2925332a750fc2a9f654f54d691aaf57e40f01d62272671d9b2402a35acd6b49598ad
                 93ec80c1186886cc981807b9113c2855ab804a169179fa660a644f2684c2ddaa4deb3533a8d73e87c52c1d76c0f3864b336ac06d8094321b13cf0839c013b881928f1bd0b06d0904647919a08c44bef405e88547dc4657f00624ce21251211a765f5482aa647f2fb405977059c4b4dc592440618b18f35718e1a86f1529ce33c
                 8293ca74aae0900ac5055f58284b68099db715fda46a0b8bb723f99a8b613d54fac7fe10ba3f0bc27427cfd74439f5c1ceb485bae723217574a3aa703152a540efd56fd388a164977f9e29329ec66f34666170c182ca8065d8b7153c2380cb7481b7372b34d09c6933110c9b1d379ac9e3d28d6c394ea7ecb24f048a1ef577c7
                 7b186c13b5afd85e8043cff439869704217fd7617671c29e75a2bd2246774406ba4a55dc1a0ca0aba34fdb32ce9a21ffd95e5ab8592e1a0a98c0803bd24f46361d1ba82e9533537c5701355b8c24b7170b2805c0978cd5d7120e7241a96b1dd17c9ea9c499a2502e306bc8e1796a0bca77aa6cae7d507af8ca964a23a18618af
                 0f0b8520605c876c1514c053e1d857e3d4124100d0d8bb1538fa8bd1d1af1f62748ba1367390076546866a7770cd6c5883d34281ac9c588136d7e999abdace9b83147c6366ecf561af496581f90d3c0839144101e4393c8806287be1615122761183ade8e16f49cb2371f11e864669dfdb85795409d8d8b159da18d9d48f09a9
                 8f6c11a3b64535aab7613af619d4e4a10be74650325e70c378d2e35d483296f7666b9247526f02c5db9bb72fc0a55ac001512ba98021b45afaa99d6448ceba5b2c16a28270327b11871e358e610c4b6f728dbc26824ceb4f971c1878cc7424438dd615539f83047ad58f9f52b36f559ecc919febb5867b041522b11577131055
                 01ac64f43c887870e0db073525687ef7c269382d175a363b952b5411be448b6e7b407dfa257a23010689dab06fb01e0d56114c641fed5422819748b3a867485821027a31e77938638cc77e141d46e032551833ae968083b29c339c57e64aaedc01a543a842041b0f96b28aeac1c191d583b4ea6147e469517c831f11764069b7
                 fdb42ec5438b55212d98595f9498581b8a77717b97172225bde79d7f02480c97c45ad3694a6c36c24aa989c153f4275691b8a166789f673b7ca2a24ff0bc1edda371ffa1cf566b87dc9530c4c0495076aa56d24080e2629421ca448cc62ea4b17a987e4842880019843f85b09b1398df7584c0664c81b0bcb0f45ca59313cad5
                 ce52cb05c419271ea3bb05dc1bdd3b6a4c32373741709c1c73d5cbc6dc2075e0c204689a6251957c6e4443b9c0b01ec91f72c3afb0e6b53062b73f1c8f6d2827aa9804ca9c164614c82bc15d8dcc01c0da380f76836a801b26a46908720842dab94a422991a47b6a359392c42d4e875879b91f865a437263b704522c06525c27
                 0b3eff868c4dd233b8ca1b17671709799508c07e36d43003128fb20a9fc78b35ca918f95243233e721be6bc1ad25a63e0232c1d85daaa159960030d6f7592bb31aa1117356736b9172be0b19be18a56128b9a4586784b6e26ae9145142a390018779ab92177e0b5d628b9ae99c12ecdcb32761a1114a04977c5d0e9371b9a02b
                 2b94bc7b28b91b4b014a78a507b553bcb78a3be04f62622161e29764c3718e74cb4c758f556a6c5570a9ce9b3484283495e892b4039aefe8031f13a34027b5665658b1f39b8552180a7a839d40c1fc327ec2ebb5d7237a222262f9dcaade750d71765294f127df636de5901f7be58aeff54a780b7401bcbd72b68152c80d2458
                 a0bcbc6c4b187f1cd258d9ec75c62b512a59331c56cf68c708e7fb62ec4c1b10055c0a4482f2810727f3877b45c72b7291c0c1965f7a41cee9b6b0e6bdf4701428264321a8a4588563a41c34dac740908c780507b5833391e723b650f64cb73565133a33f2a544ea7b70bb0887e794530c43745d27bf2d9b022f82992538299e
                 36a02e73660e565c81867d94d9b66329762e13cb5c4b48381213bf7b410c88620227425d34bdd437833f48127686473fcc2b2bf0b25e63441541806d1254178726cfb280c8507d0bd393c74a589d2971f8cc6bb771766e859987c3bd5b1a746aa4b32a7a2a9e4703d4e745cec4bf58894f73e459cb8cbf780caaa391948cbc00
                 eff3640db8c25433a835ee1192b67dfe704753b606c3b53e0638f18c0ed87aafc7556adbae4babc1c0bfdf9cc8a67895607841d33f782ed3be6a326ee5add8adbd672805bcfedde4c437139b2b9d79de84acbf443cddf5b1055a50f2f3d2cf45

          public 17a29fa56c67c77b6dc30c38b2657556568ba7bb72b3722005e1415364adc60754daf9b5db17ac91a5c8ace464b6c94129e41ce3a78a13e3836dd72f6a79b73b4377fd2b9b4b6bb4a586a5d5f85e1a2375284a4006c86b4359b975f6026db042b15c1a5175538bc804c2e0231150a5ce1917b6203ee21b0097249d98860c97a5
                 52d86847da6452c0e6591f97caaab05273d446c4059128d63ec2d26b821caf82842cedc7a02694c941f4982f7247a25bc4319b793fb4bf2c11a34e74186faa11b2e4b5c4b0a5b6b7688136a69b2987a392c5ee7661292190d299caa590521ac66c72a46fcebcc317f87a99f5c123baa879450408a156b59c4989967b14301ba5
                 7455829b583d6448d1b237b3c5bcd7311c9b447f203243ce368eee480a8deb2a778a2ff49b625d820e145ab86d94c3d8720258f952aa8456349459010220f6f00a9a7a0d5d8a23c740556b854088c907184cbe74d4b41147a197c1ac390557aac349bc17a87822ca0da7cdace226c2d6a585456c8fa61e09f80605f33eb93307
                 0a4a12e8f9802b4049fd3656b0c98f4efab15a09ccdc22880236cbeb92aefaa334f5837fcf1a46b60895c71b8c0c60ce019a388a63a258e14a3845349e20c5d46cbe1cfa7ccf99666281695ef1b5546776b2734672b84eb1d0455f6150a6b8573bac8a184238acd05997e733fca22131d2c07f2b3b908b05fc37a4376444bf89
                 4096160640da431b988f949608aa30a3fe7673b3fb4d93819fa14575e6771c69084a148c3e22c3672f41b6ce50238f98c11f665067d2c87ba56fc0135fe02858d8a3c5f350a3212c6254a988a355458c8311b5862672e8bf5d459bb1ecb1f48c6a713498c89a7c339998fc9b69088124bc2ab98af00da1e8cd75d98c1625009c
                 d206f4db0bdb3627d08b5c28102e6be7b8759406eddcacf4ebb40a54c81d31b3106c31842b0e7d02033f7b2f1073933fb8a22e20803fac7589513769759b0d99bedfdbb83b13a8408c381fc51da9d007351600fbbac84ca71e9dd296791495e305ac027652905450ae40c6240376731275d5f15b090b243e602c87a5548187a1
                 da2a10e5eca29ed51592a33f3e6848983793c6c8b9325730afb8a31b59951c946e778b7bc5651188d158123264afc056398594cac04e66e276dd09b2269cbaa03975f0d83222a7a0f6584213529dbea435b95943794806d413c82e136e86f06cbae52028833843a58a3cab5735767f1e9a7383c34a65544acb5907a0216119b6
                 57972b8828732e6a7a36769148da64a5d573038fb22531cb45da8172ab804d9854b755d4cafce181a0e51eb6629d5d0430bb450b1d1a2ea1323f20d2293dcc09433c61219b3532b45ea732160e04641d396c623c5dd46c2c974bb1a1e2363110706e695798184e7bb00fea24c3503894fe6631ab2638f192b8402ac4c194b409
                 1a6d15c4c85a2a5f586153acd36c1b89ca77fb3f05754757da78f6a8c13217c26f7cb08b6bc32e4724b7a0a4a46441a5c25878244d7337c84df70fe254a8c11432a333c5e3846c20b44146a0a8bffbad49fb5f6a1a113092cb89d3ab4bf50fbb95b39f980db72a1541d48973f79471216eaa2c6e29696890404e747964acdb23
                 68521f2d1bad75719b127a55341126d58c934f98c56eda54f13789a7e3b7bfc218f1a0079ee37fa255b63303675588cbde278f05b2ba40b695da134ce35caa1e7742727a07810b0ce7253ea68457d6e7a1a5715c857c990ec77615d75cbd135387784eee390a45e7bf95a9b1374ccf973a4da33617b88982f3a09438f998d3f6
                 84b3ac8c5a32c79d948738517b28e16ed627babd498ac1328edba911f144cac55814d880482186cf02b47e62313fd947612795961986c45ac84a6ff87a9a2a8682c0483e0a9fd8f07f5c8a9c11b0856ea19d0db346f23396bd079af231cf55403bb7630c98a32029fa12b1917cd6f199ffb686a5c825badc9ce24685cbea0aa9
                 7362aeb3c02e0b19e528bbc05c1bcd0cb8f55442bdc83914c3bb1b120461976e0f3094a7e4b4c212a0dc9586e9e9a1edc8afd949b16b74b60ef715ff42c3ce48b195769a534801ba6b0883a8c59f728c38394a48911034e16a6fcb1256478c45a92f33a4068671c2cab256fc12824abb257a767ab7a8c2eae4b44c29254c4570
                 e51fb3ae732c97c44bafaa8dc18f4e38871b23a46c90c0216b08ba9faa6a242d



[server-to-client]
         Encrypt 9bf9d021b8eb85e05a5172beb6e3b3cf14499724dcf69506f84fd431a9de6e8e1325aa542e4f3882cca823cb708ceab60ba24038d224cee63366e049800a9e1f418d471ab53c7ed33ad809d4e2c4fd0c1de262d4c89f000a21c7c3665c280e5a2f5d1a497eaa22760f429b0fcca48d0beabba8b8b822c6b9ce1ea4322a8a2a1c
                 cb142ad30d6b2268d5f1c885de9e480d67c9e270eb871f8c32f2b282f28bc05b959cdce2f7d433a64fde559be57684dc2b3f387460f047b89f66d3385c1e9d2f48a188fb804333809e05d6d49c38e49600e1082511c99d8e041be824856ac95d7f7e951f45231d98bf4b155f98768267d5ed4c60dc77223a735ebb7d67857d78
                 7cbb045f56af3b25dc3196d8551fd69081e86f48265447be3d5bc09dca93b7ffc31e964690b15f159775611e6b3588275efce0144aa5338c896449916b863391958f5490437530ee5a232626d1b8ae23342746db6288c5f92e987ffb5c734b7d5e4dc3e33d100565f8b47dea96254c0f5e0b09e98e11803a858c7a42e980c796
                 7a84d40aed4e0ea6a6755047d1cf5a76b3549f68b231fd6a1a2a8247d656ca3c5ed21690a06e2e4871ab33fe7cbb1c3e1eb95d89b209aea014ab8ae99e23abd300aa9e591154c24029ceac9e3e71b15069648df3fe23d5129e9aff83d8ab5fc36c465f6a4de0ccb08f0bb7fe015e62549f6b8142b3f0695859602f3a4f75220c
                 d3f142cd6fcbfcadf17a03de15eb647dfae38a6cac6d960e7613c7f8ed5f1bd0a7345673a696897c0891ee14e924dc4443c12133028e87b6c0abca34081d72dcba5f4003c8e56422826682868ab5ab8acd79d384dea9cdb859350311aa6d2611a852eff2e5a914f2cbeba581e8de0c30dfa19263f3ef19632a9f53d39c1bb495
                 900cdb699e63ff55fa992db3533ead725bfa68c3dda95103ce97eb27d5b12dc1ef8f0bf3d92e458df314345e3394c42d5c5515d0ec184613f71b758d6caaf03267c8b6d8d58f225eb8ee666f4222aef7f6ad09d403e48a559b8575e2714523a42a04f84073c202a3ddf91a9c3cce836ddf51a49f6c3f913f7bce1fa4fd12cad7
                 e7bd230390a1c25a97df331d5390932ac16a38cd69439307ab97ec70b330c76d8eb23072f0c1d3a6bbbb64772fe04c7841ebb9f71033a8c1a0da00ffcecf7d1847fc93a788e5d7765b46cebf07815434f208fea50a7ebf5260c042d709ea864b9c5e93c7e39c0698fede50b860f676ca1ced8fabe9684a9451c3dc23f8787e7f
                 7004e5585f045b163f7253e71d8d319ad1ac10a307d250b8e2084ea82f2fd6a11343fe99f6d07d039649c23ff9f8b96af00afdecbb2fb327154d61c00c9ae91bb939c59c06ea23291ef89328f15a96147f110363ece83fedefaff612e934640313777f220d57f52707a3ca39095eae2e2193e6852e76bc99f96ad942c539ead8
                 3a9e1de2c085233c039cc51228eab3af0a16681886a99ee2dd631bd72a411d68df0906af435382b42b86e500c30ceeef15bbf2acb871be3e4a54cb08c9e24bea62dcc938e07099d99e710637877461e6ef82e58900b87e1a646e8fc6b519339afa2c15dd6eca18dc4e8618e8042e0b674eb864da4fc5d3339971b2dd11b39350
                 81397f4427c6ad445723c610de7077e48699beaeae4df7c846be7839fbfef590c884a1b332c7ed26a0286aad0c2e80e79e9dcfb7df51a0308920b9f4325a7fb8da7f48d3f442b8870807b3791f049ab89237ad9eaf6177a9a5fa83854c4270f33db1851c3d315dc52c477a64a6e50c975000a4345ccdddb4bbf538dba411156d
                 731ee34dbb1f5e7b678c3403ad2c3b8831df817c93cab07affbe28168f7ec3185997f5fb35c6b32c8163c330c1ca98942ca6151e9044b2ab372e14b6e65d18973a0de7c714b549a058fb9c63b420853f5b7fd0743d9c291067a81d21f8bb5e4ddbfbc421ea44fbc7376b1b0649d07352328e83cb1db5b498609e838f76885e47
                 c874242d349226d0b8844ff1db22c8d884d4a32c5939e56022ecf4afd547de53312be78b70bf762816266d5868c0501b549210a376b06fa43373c8217bc9323884913511b0bf995209fd8013f85eac4ef14698e1087d042fee7639b35b1641b5c2f74a548fa929168cad2dad01a6e69f101583cc1e3303a0a1020f63484e383a
                 b9c428d5062d9edacbe6bebfdc39687db3dc6f295fed9612f74ba7cf2eeaaad1

          Secret dd4f1e940ef5c71c21618b65998d530774ff28f8a3e9007a0c9646344722f3f1

        Validate 7d0364b300af154caa9ac95cb0a38f6da68a288343358cb14a5f902dbc7ddf601d3b8939aed2a1074d46f02cbf79de5aa816aa67e80c92e40726ef77a15abd35


         Decrypt 9bf9d021b8eb85e05a5172beb6e3b3cf14499724dcf69506f84fd431a9de6e8e1325aa542e4f3882cca823cb708ceab60ba24038d224cee63366e049800a9e1f418d471ab53c7ed33ad809d4e2c4fd0c1de262d4c89f000a21c7c3665c280e5a2f5d1a497eaa22760f429b0fcca48d0beabba8b8b822c6b9ce1ea4322a8a2a1c
                 cb142ad30d6b2268d5f1c885de9e480d67c9e270eb871f8c32f2b282f28bc05b959cdce2f7d433a64fde559be57684dc2b3f387460f047b89f66d3385c1e9d2f48a188fb804333809e05d6d49c38e49600e1082511c99d8e041be824856ac95d7f7e951f45231d98bf4b155f98768267d5ed4c60dc77223a735ebb7d67857d78
                 7cbb045f56af3b25dc3196d8551fd69081e86f48265447be3d5bc09dca93b7ffc31e964690b15f159775611e6b3588275efce0144aa5338c896449916b863391958f5490437530ee5a232626d1b8ae23342746db6288c5f92e987ffb5c734b7d5e4dc3e33d100565f8b47dea96254c0f5e0b09e98e11803a858c7a42e980c796
                 7a84d40aed4e0ea6a6755047d1cf5a76b3549f68b231fd6a1a2a8247d656ca3c5ed21690a06e2e4871ab33fe7cbb1c3e1eb95d89b209aea014ab8ae99e23abd300aa9e591154c24029ceac9e3e71b15069648df3fe23d5129e9aff83d8ab5fc36c465f6a4de0ccb08f0bb7fe015e62549f6b8142b3f0695859602f3a4f75220c
                 d3f142cd6fcbfcadf17a03de15eb647dfae38a6cac6d960e7613c7f8ed5f1bd0a7345673a696897c0891ee14e924dc4443c12133028e87b6c0abca34081d72dcba5f4003c8e56422826682868ab5ab8acd79d384dea9cdb859350311aa6d2611a852eff2e5a914f2cbeba581e8de0c30dfa19263f3ef19632a9f53d39c1bb495
                 900cdb699e63ff55fa992db3533ead725bfa68c3dda95103ce97eb27d5b12dc1ef8f0bf3d92e458df314345e3394c42d5c5515d0ec184613f71b758d6caaf03267c8b6d8d58f225eb8ee666f4222aef7f6ad09d403e48a559b8575e2714523a42a04f84073c202a3ddf91a9c3cce836ddf51a49f6c3f913f7bce1fa4fd12cad7
                 e7bd230390a1c25a97df331d5390932ac16a38cd69439307ab97ec70b330c76d8eb23072f0c1d3a6bbbb64772fe04c7841ebb9f71033a8c1a0da00ffcecf7d1847fc93a788e5d7765b46cebf07815434f208fea50a7ebf5260c042d709ea864b9c5e93c7e39c0698fede50b860f676ca1ced8fabe9684a9451c3dc23f8787e7f
                 7004e5585f045b163f7253e71d8d319ad1ac10a307d250b8e2084ea82f2fd6a11343fe99f6d07d039649c23ff9f8b96af00afdecbb2fb327154d61c00c9ae91bb939c59c06ea23291ef89328f15a96147f110363ece83fedefaff612e934640313777f220d57f52707a3ca39095eae2e2193e6852e76bc99f96ad942c539ead8
                 3a9e1de2c085233c039cc51228eab3af0a16681886a99ee2dd631bd72a411d68df0906af435382b42b86e500c30ceeef15bbf2acb871be3e4a54cb08c9e24bea62dcc938e07099d99e710637877461e6ef82e58900b87e1a646e8fc6b519339afa2c15dd6eca18dc4e8618e8042e0b674eb864da4fc5d3339971b2dd11b39350
                 81397f4427c6ad445723c610de7077e48699beaeae4df7c846be7839fbfef590c884a1b332c7ed26a0286aad0c2e80e79e9dcfb7df51a0308920b9f4325a7fb8da7f48d3f442b8870807b3791f049ab89237ad9eaf6177a9a5fa83854c4270f33db1851c3d315dc52c477a64a6e50c975000a4345ccdddb4bbf538dba411156d
                 731ee34dbb1f5e7b678c3403ad2c3b8831df817c93cab07affbe28168f7ec3185997f5fb35c6b32c8163c330c1ca98942ca6151e9044b2ab372e14b6e65d18973a0de7c714b549a058fb9c63b420853f5b7fd0743d9c291067a81d21f8bb5e4ddbfbc421ea44fbc7376b1b0649d07352328e83cb1db5b498609e838f76885e47
                 c874242d349226d0b8844ff1db22c8d884d4a32c5939e56022ecf4afd547de53312be78b70bf762816266d5868c0501b549210a376b06fa43373c8217bc9323884913511b0bf995209fd8013f85eac4ef14698e1087d042fee7639b35b1641b5c2f74a548fa929168cad2dad01a6e69f101583cc1e3303a0a1020f63484e383a
                 b9c428d5062d9edacbe6bebfdc39687db3dc6f295fed9612f74ba7cf2eeaaad1

          Secret dd4f1e940ef5c71c21618b65998d530774ff28f8a3e9007a0c9646344722f3f1

        Validate 7d0364b300af154caa9ac95cb0a38f6da68a288343358cb14a5f902dbc7ddf601d3b8939aed2a1074d46f02cbf79de5aa816aa67e80c92e40726ef77a15abd35



[client-to-server]
         Encrypt 6c6ae5000d5cbdec89718be490ea366195202603f33b89f875a8360e10681e3aa9e594df8422cba4ef0f13a7067975fa71d60a4a14b94b0019ace166a9b1a6896cbefd905b9592604fe03310dd0573e1131b4e1076e8ce9672539297d1992e2a33cfe918ec57aaa3fa42a3a9340feb225de64004a4b966b5dc3e79857ec0da5c
                 58865f05c69d0cd6020df9dcba2e94858f14c7a70a6ae6524e1b0548e341e37ac6747881f3b5e67d6edebb96a74d3549d910d82f59465c697196756bd3ab13ed5e4d5f28dd286541e835e080483618d24be15c7a327aaa80d9d2c8e9d7ec654dde5178440afe6ac289f41f966d552ea10dc4a209fa98baf5d501b366b428c617
                 72f439e29d8153fa344616fc7e0daa99133fc3b6cc17fcb0f20167bcbdaa925e33f7b6b5ef09b288d99b42d25128136cbffb0f565a6c0f8117069bb06b6a5a5243f486dd0cf9bf9db2638dc0d561e0223fd20b005d32e98afed700b1f2088f651bef591b47a7c3b7de2307203ce9a8e8d832230374bc19f9d8bfff352b9a3bee
                 7079687409960328248d34cd71adf8d912b4513b9f9917afd99ed82b095c6c26575cc1fc4d26c228313faf70b351ab0288ba2b2ee2614f3e368d87a92a715346acb33681051b2e33f4220cc08a0dbb1b7246f0f9fafd5dc646a3460f31f47f86e2ac4646c6a0f092007587a09990f0429b4c97ac1b157fd3e9cfcc8dfbc6afb4
                 526a890e9bf88cf8e89a7a7c320482b5a37ecef37a1499e1f0a40fb9cd328bd1414ecc2168ca659cfac14a016c3de0d68bc1fdef504da0a2607ce30548f4781ee556467bf9ba292dee659f1086f7a30cbb7f68eab4e731bd614e079578439ba0b67a725e0aecbc48e1a0d52f8038f390dccc917cade266d3b7fe4ae9e312e0e4
                 b571374d60f70cf228fe4b2da9a4251d61c4cdacfcbac50ccbf2a44054348ca3a819d6b7de2b4732759bf5549b3e984492730338529cb3ea5f10b86189bcab51d81accf0f074046f2bc282c59ebb620e1fea65e59603740caf953d6c9da081d8bed4b919a4b0c51c98ab316e411e9b766848f5ba2dd4a9fa6e8668b545427b29
                 ce09d0fa61c8b3a941c85ddf772b86c37cbbd497058634919b72470e74e5bd37dda1dbe1345fe3f9126a99bdfda8407c3c77da880450b6cf62e73d800c59f5d209febf22f051525b28cd35752ad445c271e6d570c119b5ca1f352a23d5bc99ceeabbe5a32e6d470492b6b94786cbbe7c9d6acebca8789a1bf126c11cef3bdf81
                 5710136d8f36871244f42d9da90259565516121d49023c6eec4f431d763e60aaf21cf466b6faa0f964aef89af491dcda1ddcd28bf770218a349cd5046983ff7433b152c79f752dbfe210734d2e3077dc249b4320b341a0456993b7d5c41bbca6cb2cfd73233e0633fc4fa84d9e92287fee5a8371454b2f9ac76a69edefd49217
                 127ff5f9da3d6e4cd5ce59e9f423bb3eeb75059ecb028ef7069ee61a2918107dc0bd96fd8d1a65ee8c0faeb31b672fb92146cdf5373e34ba8bbe71a59fa45fa1a945e558ae8562c38a109e370f7f8f67925f8998a8e0f46da50fa727f27274156765c62401f7f93fa20c58fd10e2a50afc13ab04d8d630ca8bb4aaf479bae58b
                 3bf9e4cb0a08addf3cac5cd9053ae30fcc1912691019451e068ad3654913e782a6229707878ebd61b7399b3d3e5ff8d1a7f74e76382de42dae20f21fa6ef78ba10e7ad3ad5531fce34092627babb3ee8cf8ff4e9804369359d0bbac1cf3daf39b99df7701c3c0422a4ea41572bfc4d8aea0241150ad93ebe3c4f2c3ec0ad51e8
                 d0109136b6095e571912d992272c267960faef0ea109fb209d2c3cedc7131d6bc3fb90fa331e4d5f02999582b03cc3cf3366943d3c264a5b1dc676445e3342086dc35fb3274b131780a6bb773bb85d4d22904099f08209ce205c12b0c5222c1bd707c0bc89f5f471c4040fcfffe81ef0a471f596901214198b5bd124ed783975
                 919298c713011880e0fa4a4ab1743453b4d3d767a7a3b3d48a4871e90ae97c3c8275684e85a71c6b96a2a739cdd7e95879ce54f3d3ca47119924a91702d91b63c3d6f8f401c52f6a9a6a782c874e8c2602342fad1d4f86d139894cff2e55e3896278511427a5c062d224636f1717c72a0d9123b88820bd6021c8b17c5efad0ef
                 7b2e0bbfc4685d402fddce333a5b63f11e09394ca778acfa1f6dd2b0fc5ab1cf

          Secret 3431689b4e6a2cfd64dfaa26c3c5badb3979182afb01203d5dc0d76a31861cff

        Validate 78d43b48fba71dc42e92d023b1390ad9f37a9064b5a536c7f2a5f1b0e847869d861275f544a4090c97007fbdf88a10698939d75bc99bf7ecc9162ea8bce5c89b


         Decrypt 6c6ae5000d5cbdec89718be490ea366195202603f33b89f875a8360e10681e3aa9e594df8422cba4ef0f13a7067975fa71d60a4a14b94b0019ace166a9b1a6896cbefd905b9592604fe03310dd0573e1131b4e1076e8ce9672539297d1992e2a33cfe918ec57aaa3fa42a3a9340feb225de64004a4b966b5dc3e79857ec0da5c
                 58865f05c69d0cd6020df9dcba2e94858f14c7a70a6ae6524e1b0548e341e37ac6747881f3b5e67d6edebb96a74d3549d910d82f59465c697196756bd3ab13ed5e4d5f28dd286541e835e080483618d24be15c7a327aaa80d9d2c8e9d7ec654dde5178440afe6ac289f41f966d552ea10dc4a209fa98baf5d501b366b428c617
                 72f439e29d8153fa344616fc7e0daa99133fc3b6cc17fcb0f20167bcbdaa925e33f7b6b5ef09b288d99b42d25128136cbffb0f565a6c0f8117069bb06b6a5a5243f486dd0cf9bf9db2638dc0d561e0223fd20b005d32e98afed700b1f2088f651bef591b47a7c3b7de2307203ce9a8e8d832230374bc19f9d8bfff352b9a3bee
                 7079687409960328248d34cd71adf8d912b4513b9f9917afd99ed82b095c6c26575cc1fc4d26c228313faf70b351ab0288ba2b2ee2614f3e368d87a92a715346acb33681051b2e33f4220cc08a0dbb1b7246f0f9fafd5dc646a3460f31f47f86e2ac4646c6a0f092007587a09990f0429b4c97ac1b157fd3e9cfcc8dfbc6afb4
                 526a890e9bf88cf8e89a7a7c320482b5a37ecef37a1499e1f0a40fb9cd328bd1414ecc2168ca659cfac14a016c3de0d68bc1fdef504da0a2607ce30548f4781ee556467bf9ba292dee659f1086f7a30cbb7f68eab4e731bd614e079578439ba0b67a725e0aecbc48e1a0d52f8038f390dccc917cade266d3b7fe4ae9e312e0e4
                 b571374d60f70cf228fe4b2da9a4251d61c4cdacfcbac50ccbf2a44054348ca3a819d6b7de2b4732759bf5549b3e984492730338529cb3ea5f10b86189bcab51d81accf0f074046f2bc282c59ebb620e1fea65e59603740caf953d6c9da081d8bed4b919a4b0c51c98ab316e411e9b766848f5ba2dd4a9fa6e8668b545427b29
                 ce09d0fa61c8b3a941c85ddf772b86c37cbbd497058634919b72470e74e5bd37dda1dbe1345fe3f9126a99bdfda8407c3c77da880450b6cf62e73d800c59f5d209febf22f051525b28cd35752ad445c271e6d570c119b5ca1f352a23d5bc99ceeabbe5a32e6d470492b6b94786cbbe7c9d6acebca8789a1bf126c11cef3bdf81
                 5710136d8f36871244f42d9da90259565516121d49023c6eec4f431d763e60aaf21cf466b6faa0f964aef89af491dcda1ddcd28bf770218a349cd5046983ff7433b152c79f752dbfe210734d2e3077dc249b4320b341a0456993b7d5c41bbca6cb2cfd73233e0633fc4fa84d9e92287fee5a8371454b2f9ac76a69edefd49217
                 127ff5f9da3d6e4cd5ce59e9f423bb3eeb75059ecb028ef7069ee61a2918107dc0bd96fd8d1a65ee8c0faeb31b672fb92146cdf5373e34ba8bbe71a59fa45fa1a945e558ae8562c38a109e370f7f8f67925f8998a8e0f46da50fa727f27274156765c62401f7f93fa20c58fd10e2a50afc13ab04d8d630ca8bb4aaf479bae58b
                 3bf9e4cb0a08addf3cac5cd9053ae30fcc1912691019451e068ad3654913e782a6229707878ebd61b7399b3d3e5ff8d1a7f74e76382de42dae20f21fa6ef78ba10e7ad3ad5531fce34092627babb3ee8cf8ff4e9804369359d0bbac1cf3daf39b99df7701c3c0422a4ea41572bfc4d8aea0241150ad93ebe3c4f2c3ec0ad51e8
                 d0109136b6095e571912d992272c267960faef0ea109fb209d2c3cedc7131d6bc3fb90fa331e4d5f02999582b03cc3cf3366943d3c264a5b1dc676445e3342086dc35fb3274b131780a6bb773bb85d4d22904099f08209ce205c12b0c5222c1bd707c0bc89f5f471c4040fcfffe81ef0a471f596901214198b5bd124ed783975
                 919298c713011880e0fa4a4ab1743453b4d3d767a7a3b3d48a4871e90ae97c3c8275684e85a71c6b96a2a739cdd7e95879ce54f3d3ca47119924a91702d91b63c3d6f8f401c52f6a9a6a782c874e8c2602342fad1d4f86d139894cff2e55e3896278511427a5c062d224636f1717c72a0d9123b88820bd6021c8b17c5efad0ef
                 7b2e0bbfc4685d402fddce333a5b63f11e09394ca778acfa1f6dd2b0fc5ab1cf

          Secret 3431689b4e6a2cfd64dfaa26c3c5badb3979182afb01203d5dc0d76a31861cff

        Validate 78d43b48fba71dc42e92d023b1390ad9f37a9064b5a536c7f2a5f1b0e847869d861275f544a4090c97007fbdf88a10698939d75bc99bf7ecc9162ea8bce5c89b



[server]
             Key f8ec8bb5003073a45b862a3cd7cf39e9aee12fdac86213a92c66e7271d571e7d823a17b672a6850ef1919341688a928d7083520fcd1d66575997abb73b9d35f0



[client]
             Key f8ec8bb5003073a45b862a3cd7cf39e9aee12fdac86213a92c66e7271d571e7d823a17b672a6850ef1919341688a928d7083520fcd1d66575997abb73b9d35f0

~

Source Code: https://github.com/stoops/pqkx/

~

Generating colorful iPhone wallpaper backgrounds continued [circles]

<script>
	//scroll to bottom
	//shot 935 x 1475 (1870 x 2950)
	//sips --rotate -35 a.png --out b.png ; cp -fv b.png c.png
	//crop:768x1666 + blur:5 + noise:5 + vintage:5
	//cp -fv d.png e.png ; sips -z 2556 1179 e.png
	//save:1024x1920 + grain:55
	function zz(n) { return Math.min(Math.max(0, n), 255); }
	function rr(n, m) { return (Math.floor(Math.random() * ((m - n) + 1)) + n); }
	function bb(dd, ee, ff, gg, vv, ww, oo) {
		var hh = "";
		var xx = 35, yy = 35;
		if ((dd == 235) && (ee == 115) && (ff == 115)) { xx += 55; }
		if ((dd == 195) && (ee == 75) && (ff == 75)) { xx -= 15; }
		if ((dd == 215) && (ee == 95) && (ff == 15)) { xx += 5; }
		if ((dd == 235) && (ee == 155) && (ff == 55)) { xx += 15; }
		if ((dd > 235) && (ee > 175) && (ff > 105)) { xx += 35; }
		if ((dd == 35) && (ee == 195) && (ff == 235)) { xx += 35; }
		if ((dd == 15) && (ee == 155) && (ff == 215)) { xx += 35; }
		if ((dd == 15) && (ee == 75) && (ff == 135)) { xx -= 35; yy += 15; }
		if ((dd == 16) && (ee == 76) && (ff == 136)) { xx += 15; }
		if ((dd == 55) && (ee == 35) && (ff == 115)) { xx -= 15; }
		if ((dd == 95) && (ee == 35) && (ff == 115)) { xx -= 15; }
		//console.log("DEBUG:"+dd+","+ee+","+ff+":"+xx);
		hh += ("border:"+vv+"px solid rgba("+zz(dd-xx)+", "+zz(ee-xx)+", "+zz(ff-xx)+", "+(oo*0.51)+"); background:rgba("+zz(dd+yy)+", "+zz(ee+yy)+", "+zz(ff+yy)+", "+(oo*0.71)+");");
		return hh;
	}
	function aa() {
		var ll = [];
		var l = [
			[ 75,  55,  35, 0.15, 1.0, 0.0, "brown" ],
			[ 75,  55,  35, 0.75, 1.0, 0.0, "brown" ],
			[235, 115, 115, 0.55, 1.1, 0.0, "rose"  ],
			[195,  75,  75, 0.55, 1.0, 0.0, "berry" ],
			[215,  95,  15, 0.75, 1.1, 0.0, "peach" ],
			[235, 155,  55, 0.75, 1.0, 0.2, "gold"  ],
			[255, 195, 135, 0.95, 1.0, 0.0, "light" ],
			[ 35, 195, 235, 0.75, 1.0, 0.0, "mint"  ],
			[ 15, 155, 215, 0.75, 2.0, 0.0, "blue"  ],
			[ 15,  75, 135, 0.75, 1.0, 0.0, "dark"  ],
			[ 55,  35, 115, 0.55, 1.0, 0.0, "deep"  ],
			[ 95,  35, 115, 0.95, 1.0, 0.0, "purple"],
			[ 75,  55,  35, 0.05, 1.0, 0.0, "brown" ],
		];
		var p = [];
		var o = [0.99, 0.95, 0.91];
		var hh = 15;
		var vv = 3.99;
		var ww = 3.99;
		var v = ((15 - vv) - vv);
		var h = ((15 - ww) - ww);
		var n = 7;
		var t = 0;
		var u = "";
		var z = document.getElementById("a");
		for (var i = 0; i < l.length; ++i) {
			var k = (i + 1);
			var r = l[i][3];
			var s = parseInt(l[i][4]);
			var x = (((parseInt(l[i][4] * 10) % 10) + 1) - 1);
			var y = parseInt(l[i][5]);
			var w = (((parseInt(l[i][5] * 10) % 10) + 1) - 1);
			var m = (parseInt(n * r) + (x + y));
			u += (l[i][5]+" "+i+" "+n+" "+r+" "+s+" "+m+"\n");
			if (p.length > 0) {
				l[i][0] = p[0][0]; l[i][1] = p[0][1]; l[i][2] = p[0][2];
				p = [];
			}
			for (var j = 0; j < s; ++j) {
				var d = l[i][0], e = l[i][1], f = l[i][2], g = o[1];
				var uu = (l[i][6] == "dark") ? 2 : (l[i][6] != "brown") ? 1 : 0;
				var tt = "<div style='white-space:nowrap; height:"+hh+"px; background:rgba("+zz(d)+", "+zz(e)+", "+zz(f)+", "+g+");'>";
				for (var ii = 0; (ii < uu) && (j == (s - 1)); ++ii) {
					var dd = d, ee = e, ff = f, gg = g, oo = (o[0]*(0.33+((l.length-i)/100)));
					ll.push("<span style='display:inline-block; position:fixed; top:%ypx; left:%xpx; height:%hpx; width:%wpx; "+bb(dd+ii, ee+ii, ff+ii, gg, vv, ww, oo)+" border-radius:999px;'></span>");
				}
				tt += "</div>";
				z.innerHTML += tt;
				if (i < (l.length - 1)) { t += hh; }
			}
			for (var j = 0; (j < 3) && (k < l.length); ++j) {
				var d = (((l[k][j] - l[i][j]) - 1) / (m + 1));
				l[i][j] = (l[i][j] - (d * w));
			}
			for (var j = 0; (j < m) && (k < l.length); ++j) {
				var a = (((l[k][0] - l[i][0]) - 1) / (m + 1 + w));
				var b = (((l[k][1] - l[i][1]) - 1) / (m + 1 + w));
				var c = (((l[k][2] - l[i][2]) - 1) / (m + 1 + w));
				var d = (l[i][0] + (a * (j + 1))), e = (l[i][1] + (b * (j + 1))), f = (l[i][2] + (c * (j + 1))), g = o[2];
				if (j >= (m - y)) { p.push([d, e, f, g]); continue; }
				if (j >= (m - w)) { p.unshift([d + a, e + b, f + c, g]); }
				var uu = 0;
				var tt = "<div style='white-space:nowrap; height:"+hh+"px; background:rgba("+zz(d)+", "+zz(e)+", "+zz(f)+", "+g+");'>";
				for (var ii = 0; ii < uu; ++ii) {
					var dd = d, ee = e, ff = f, gg = g, oo = (o[0]*(0.33+((l.length-i)/100)));
					ll.push("<span style='display:inline-block; position:fixed; top:%ypx; left:%xpx; height:%hpx; width:%wpx; "+bb(dd, ee, ff, gg, vv, ww, oo)+" border-radius:999px;'></span>");
				}
				tt += "</div>";
				z.innerHTML += tt;
				if (i < (l.length - 1)) { t += hh; }
			}
		}
		var lasx = 5, lasy = -15, mins = parseInt(35 / (1.99 + 0.33)), maxs = parseInt(75 / (1.99 + 0.33));
		for (var ii = 0; ii < ll.length; ++ii) {
			for (var jj = 0; jj < 3; ++jj) {
				if (ll[ii] == "") { continue; }
				var maxx = Math.max(1500, window.innerWidth);
				var maxy = Math.max(500, window.innerHeight);
				while (lasx < (maxx - maxs)) {
					var size = rr(mins, maxs);
					var sizw = size;
					var sizh = size;
					var posx = rr(lasx, lasx + (maxs / 1.99));
					var posy = rr(lasy, lasy + (maxs / 1.99));
					document.body.innerHTML += ll[ii].replace(/%x/ig, ""+posx).replace(/%y/ig, ""+posy).replace(/%w/ig, ""+sizw).replace(/%h/ig, ""+sizh);
					lasx += (sizw + (vv * 1.33));
				}
				lasx = 5; lasy += ((maxs / 1.35) + (vv * 1.33));
			}
		}
		alert(n+"\n"+t+"\n"+u);
	}
</script>
<body onload="aa();" style="margin-bottom:0px;">
	<div id="a"></div>
</body>

[Colors]

[Grain]

[Source]

~

Generating colorful iPhone wallpaper backgrounds continued [lines]

<script>
	//scroll to bottom
	//shot 935 x 1475 (1870 x 2950)
	//sips --rotate -35 a.png --out b.png ; cp -fv b.png c.png
	//crop:768x1666 + blur:5 + noise:5 + vintage:5
	//cp -fv d.png e.png ; sips -z 2556 1179 e.png
	//save:1024x1920 + grain:55
	function zz(n) { return Math.min(Math.max(0, n), 255); }
	function rr(n, m) { return (Math.floor(Math.random() * ((m - n) + 1)) + n); }
	function bb(dd, ee, ff, gg, vv, ww, oo) {
		var hh = "";
		var xx = 35, yy = 35;
		if ((dd == 235) && (ee == 115) && (ff == 115)) { xx += 15; }
		if ((dd == 195) && (ee == 75) && (ff == 75)) { xx += 35; }
		if ((dd == 215) && (ee == 95) && (ff == 15)) { xx += 35; }
		if ((dd == 235) && (ee == 155) && (ff == 55)) { xx += 15; }
		if ((dd > 235) && (ee > 175) && (ff > 105)) { xx += 15; }
		if ((dd == 35) && (ee == 195) && (ff == 235)) { xx += 15; }
		if ((dd == 15) && (ee == 155) && (ff == 215)) { xx += 35; yy -= 15; }
		if ((dd == 15) && (ee == 75) && (ff == 135)) { xx += 55; ff += 15; ee += 15; }
		if ((dd == 55) && (ee == 35) && (ff == 115)) { xx += 35; }
		if ((dd == 95) && (ee == 35) && (ff == 115)) { xx += 15; }
		if ((dd == 96) && (ee == 36) && (ff == 116)) { xx += 15; yy += 15; }
		//console.log("DEBUG:"+dd+","+ee+","+ff+":"+xx);
		hh += ("border:"+vv+"px dashed rgba("+zz(dd+xx)+", "+zz(ee+xx)+", "+zz(ff+xx)+", "+(oo*1.95)+"); background:rgba("+zz(dd+yy)+", "+zz(ee+yy)+", "+zz(ff+yy)+", "+(oo*0.55)+");");
		return hh;
	}
	function aa() {
		var ll = [];
		var l = [
			[ 75,  55,  35, 0.15, 1.0, 0.0, "brown" ],
			[ 75,  55,  35, 0.75, 1.0, 0.0, "brown" ],
			[235, 115, 115, 0.55, 1.1, 0.0, "rose"  ],
			[195,  75,  75, 0.55, 1.0, 0.0, "berry" ],
			[215,  95,  15, 0.75, 1.1, 0.0, "peach" ],
			[235, 155,  55, 0.75, 1.0, 0.2, "gold"  ],
			[255, 195, 135, 0.95, 1.0, 0.0, "light" ],
			[ 35, 195, 235, 0.75, 1.0, 0.0, "mint"  ],
			[ 15, 155, 215, 0.75, 2.0, 0.0, "blue"  ],
			[ 15,  75, 135, 0.75, 1.0, 0.0, "dark"  ],
			[ 55,  35, 115, 0.55, 1.0, 0.0, "deep"  ],
			[ 95,  35, 115, 0.95, 1.0, 0.0, "purple"],
			[ 75,  55,  35, 0.05, 1.0, 0.0, "brown" ],
		];
		var p = [];
		var o = [0.99, 0.95, 0.91];
		var hh = 15;
		var vv = 1.99;
		var ww = 1.99;
		var v = ((15 - vv) - vv);
		var h = ((15 - ww) - ww);
		var n = 7;
		var t = 0;
		var u = "";
		var z = document.getElementById("a");
		for (var i = 0; i < l.length; ++i) {
			var k = (i + 1);
			var r = l[i][3];
			var s = parseInt(l[i][4]);
			var x = (((parseInt(l[i][4] * 10) % 10) + 1) - 1);
			var y = parseInt(l[i][5]);
			var w = (((parseInt(l[i][5] * 10) % 10) + 1) - 1);
			var m = (parseInt(n * r) + (x + y));
			u += (l[i][5]+" "+i+" "+n+" "+r+" "+s+" "+m+"\n");
			if (p.length > 0) {
				l[i][0] = p[0][0]; l[i][1] = p[0][1]; l[i][2] = p[0][2];
				p = [];
			}
			for (var j = 0; j < s; ++j) {
				var d = l[i][0], e = l[i][1], f = l[i][2], g = o[1];
				var uu = (l[i][6] == "purple") ? 2 : (l[i][6] != "brown") ? 1 : 0;
				var tt = "<div style='white-space:nowrap; height:"+hh+"px; background:rgba("+zz(d)+", "+zz(e)+", "+zz(f)+", "+g+");'>";
				for (var ii = 0; (ii < uu) && (j == (s - 1)); ++ii) {
					var dd = d, ee = e, ff = f, gg = g, oo = (o[0]*(0.33+((l.length-i)/100)));
					ll.push("<span style='display:inline-block; position:fixed; top:%ypx; left:%xpx; height:%hpx; width:%wpx; "+bb(dd+ii, ee+ii, ff+ii, gg, vv, ww, oo)+" border-radius:0px;'></span>");
				}
				tt += "</div>";
				z.innerHTML += tt;
				if (i < (l.length - 1)) { t += hh; }
			}
			for (var j = 0; (j < 3) && (k < l.length); ++j) {
				var d = (((l[k][j] - l[i][j]) - 1) / (m + 1));
				l[i][j] = (l[i][j] - (d * w));
			}
			for (var j = 0; (j < m) && (k < l.length); ++j) {
				var a = (((l[k][0] - l[i][0]) - 1) / (m + 1 + w));
				var b = (((l[k][1] - l[i][1]) - 1) / (m + 1 + w));
				var c = (((l[k][2] - l[i][2]) - 1) / (m + 1 + w));
				var d = (l[i][0] + (a * (j + 1))), e = (l[i][1] + (b * (j + 1))), f = (l[i][2] + (c * (j + 1))), g = o[2];
				if (j >= (m - y)) { p.push([d, e, f, g]); continue; }
				if (j >= (m - w)) { p.unshift([d + a, e + b, f + c, g]); }
				var uu = 0;
				var tt = "<div style='white-space:nowrap; height:"+hh+"px; background:rgba("+zz(d)+", "+zz(e)+", "+zz(f)+", "+g+");'>";
				for (var ii = 0; ii < uu; ++ii) {
					var dd = d, ee = e, ff = f, gg = g, oo = (o[0]*(0.33+((l.length-i)/100)));
					ll.push("<span style='display:inline-block; position:fixed; top:%ypx; left:%xpx; height:%hpx; width:%wpx; "+bb(dd, ee, ff, gg, vv, ww, oo)+" border-radius:0px;'></span>");
				}
				tt += "</div>";
				z.innerHTML += tt;
				if (i < (l.length - 1)) { t += hh; }
			}
		}
		var lasx = 5, lasy = -11, mins = parseInt(35 / (1.99 + 0.33)), maxs = parseInt(75 / (1.99 + 0.33));
		for (var ii = 0; ii < ll.length; ++ii) {
			for (var jj = 0; jj < 5; ++jj) {
				if (ll[ii] == "") { continue; }
				var maxx = Math.max(1500, window.innerWidth);
				var maxy = Math.max(500, window.innerHeight);
				while (lasx < (maxx - maxs)) {
					var sizw = maxs;
					var sizh = mins;
					var posx = lasx;
					var posy = lasy;
					document.body.innerHTML += ll[ii].replace(/%x/ig, ""+posx).replace(/%y/ig, ""+posy).replace(/%w/ig, ""+sizw).replace(/%h/ig, ""+sizh);
					lasx += (sizw + (vv * 1.33));
				}
				lasx = 5; lasy += (mins + (vv * 1.33));
			}
		}
		alert(n+"\n"+t+"\n"+u);
	}
</script>
<body onload="aa();" style="margin-bottom:0px;">
	<div id="a"></div>
</body>

[Colors]

[Grain]

[Source]

~

Dual Mini – Network Setup – 2.5G + VPN

With the release of MacOS 27, Apple announced that they dropped support for Intel Macs and so I decided to repurpose my 2019 Intel Mac Mini that I had spec’d out with 10G Ethernet and 16G RAM. I was able to unlock the boot loader and load up Linux on it to turn it into a 10G SFP+ connected router.

Hardware-Defined Networking: I was previous running a Lenovo Mini PC with a 4 port 2.5G card where I could connect the WAN, LAN, VPN In, VPN Out to the router directly. The previous setup was technically more efficient as the bulk of the traffic was flowing in and out of the router.

Software-Defined Networking: In the new setup, the bulk of the traffic is also now flowing in and out of the switch as well as the router which is technically less efficient. The M4 Pro Mac Mini is still running the VPN In / Out solution that I had previously worked on and posted about before (including the proxy backup solution as well).

Now I have the Intel Mac Mini connected with a 10G SFP+ trunk port which has the 4 separate VLANs on the switch to connect and separate those 4 different networks working along side the ARM Mac Mini!

The 4 main functions and routing paths of the VLAN network are:

  • Client -> WiFi
  • WiFi -> VPN
  • VPN -> WAN
  • WAN -> Server

The USW PRO MAX switch is now fully connected with the following ports from the right:

  • Port 1: Router [VLAN Trunk] (10G)
  • Port 2: WAN [VLAN Access] (2.5G)
  • Port 3: WiFi Clients [VLAN Access] (2.5G)
  • Port 4: WiFi Bridge [VLAN Access] (2.5G)
  • Port 5: VPN In [VLAN Trunk] (2.5G)
  • Port 6: VPN Out [VLAN Access] (2.5G)

~

SimpleShell – MacOS Terminal Emulator App

[SimpleShell]

~

$ curl -sL 'https://github.com/stoops/SimpleShell/commits/main/' | tr '=:,<>[]{}"\' '\n' | grep -Ei '/commit/' | head -n 1 | awk -F'/' '{ print $NF }'

$ spctl -a -v bin/SimpleShell.app
bin/SimpleShell.app: accepted
source=Notarized Developer ID

I was searching for a good quality but simple free open terminal for MacOS and I couldn’t really find what I was looking for interface wise (I used to use iTerm for a long time but it started getting more and more bloated and laggy on me – using up a lot of system power on battery and I don’t want all that AI stuff baked in).

I started a project earlier this year but got stuck on it because I was trying to implement a basic ANSI parser which was a mistake on my part. I didn’t realize how incredibly complicated that finite state machine would be, esp with bash and ansi apps sending complicated instructions into the machine! I then asked Google AI for help and it pointed me to a GitHub page that hosted a libvterm (from vim) that was compatible with Objective-C.

I’ve been working on this app non-stop for the last 9 days now and I only have the basics covered, I didn’t realize how much code it took just to make a basic text processing input/output app but I think this is one of my more complicated code bases (possibly TurnTable is the other app of mine that might be more complicated but that one is in Swift).

I still have a lot more work on my todo list for and I will continue development on it now that I got ANSI parsing to work, the rest is just mainly ViewController and functionality features. I targeted it for the bash shell so I don’t know if it works with other shells but this is just my first release post about it.

Layout List

  • Date (Month / Day)
  • Terminal (Rows / Cols)
  • Network (LAN / WAN)
  • System (CPU / RAM / NET)
  • WiFi (Freq / Rate)
  • Highest Process (PID / MEM)
  • Shell PS1 Prompt Info (User / Directory)
  • Dynamic Prompt Prefix Information Insertion (Any scriptable line items)

Feature List

  • Simple Clean Minimal Functional Design
  • Window / View / Layout — Colors / Opacity / Blur
  • Selector / Highlighter Separator Character List (Automation)
  • Auto Copy On Selection (Automation)
  • Single-Line Paste Manual Enter (Safety)
  • Multi-Line Paste Prevention Protection (Safety)
  • Huge-Line Paste Limitation Protection (Safety)
  • Multi-Window / Multi-Tab
  • Left Aligned Tab Titles With Monospace Font (Readability)
  • Scriptable Standard Window And Tab Title Text
  • Scriptable Dynamic Shell Prompt Prefix (Found No Where Else!)
  • Always Visible Command Line Prompt (Found No Where Else!)
  • Live System Information Stats Bar
  • Separated Open / Close Tab Buttons To Reduce Accidental Closures
  • Multi-Tab Window Detection To Reduce Accidental Closures
  • Dual Output Modes (line/ansi) With Separated Input Prompt (comd)
  • Smooth Scroll Locking
  • Clear Console Command
  • Easy Use Shortcut Keys (cmd/opt + left/right)
  • Regular Expression Search
  • Basic Output Text Colors
  • Basic Process Job Detection
  • Transparent Rounded Cursor Block!
  • Dock Icon!!

Todo List

  • Add settings for font text type / size
  • Add settings for ansi color codes

Limitation List

  • Tabs Can’t Be Transferred To Other Windows
  • Only Reopens One Window / Tab On Launch
  • No Previous History Or Information Is Restored

Warning List

  • User Beware: This is still a brand new framework and there may be bugs (or at the very least incompatibilities)!

~

Source Code: https://github.com/stoops/SimpleShell

~

I Think This Is My Favorite Firewall Command Of All Time!

Layer 2 – Ethernet Frames – Leet ARP Spoofing

ebtables -t nat -I PREROUTING -i wifi+ -p ARP --arp-opcode Reply --arp-ip-src 192.168.1.1 -s ! 00:12:34:56:78:00 -j DROP
ebtables -t nat -A PREROUTING -i wifi+ -p ARP --arp-opcode Reply --arp-ip-dst 192.168.1.1 -s ! 00:12:34:56:78:00 -j DROP

~

Layer 3 – Second Favorites – Lazy DHCP Snooping

ebtables -t nat -I PREROUTING -i eth0.1 -p IPv4 --ip-proto udp --ip-sport 67 -j ACCEPT
ebtables -t nat -A PREROUTING -i wifi+ -p IPv4 --ip-proto udp --ip-sport 67 -j DROP

~

[kmod-nft-bridge]

table bridge ethernet {
chain PREROUTING {
type filter hook prerouting priority filter; policy accept;
iifname "wifi*" arp operation reply arp saddr ether != 00:11:22:33:44:00 arp saddr ip 192.168.1.1 counter drop
iifname "wifi*" ip protocol udp udp sport 67 counter drop
}
}

~

OpenWRT Config

wireless.default_radio0.isolate='1'
wireless.default_radio0.bridge_isolate='1'

~

Untested Commands

bridge link set dev wlan0 hairpin off isolated on
ebtables -A FORWARD -i wlan0 -o wlan0 -j DROP

~

Note: Most of these commands won’t work on UAP-U7-PRO APs I believe due to hardware based frame/packet routing/forwarding – I have since enabled arp-proxy and dhcp-snooping in the UI network controller application, however, I don’t see them working either, possibly because I am running a third-party gateway device. I have finally enabled client-isolation, which as tested, solves the ARP and DHCP attacks completely and forces client-to-client communication through the router instead for even further filtering!

~

My first usage of AI for specific tech help and my thoughts so far…

I have first since used a couple web based AI systems for different specific tech things and they are pretty useful if you do the extra work to verify and modify what they are telling you. I’ve found that Google Gemini AI is really good a general tech questions and configuration items (with looking it over and understanding it and modifying it of course for your specific needs) and Claude Sonnet AI is really amazing at verifying that your code is correct and other more in-depth programming related tasks (for example, memory allocation and pointer handling and file descriptor tracking). I was also trying to test and see if the AI system would learn from me or others over time and add that previous historical context for each conversation into future interactions.

I’ve been using these systems lightly whenever I get stuck and they are able to find the exact code snippets I was looking for to complete the rest of my projects – prompt engineering!

Tips:

  • You need to try and give as much extra debugging info that you can for it to properly figure things out or update its answer
  • It’s better to ask it small specific questions and break the problem apart into pieces and then tailor a customized solution
  • There are interesting differences between asking it high-level design questions versus low-level coding questions
  • It’s also interesting to ask it open-minded / open-ended questions versus asking for specific solution implementations
  • It may get lost easily depending on code length, complexity, and the given language it is programmed in
  • Try to connect and link the history and context in between multiple sequential questions
  • Sometimes it will loop through repeated answers if it gets stuck on one specific solution
  • Sometimes the quality of a given answer decreases or even may change completely the longer that you interact with it
  • Sometimes you will get varying, differing, or conflicting answers if you re-ask it the same question over and over again
  • Sometimes it gets stuck on one specific solution that won’t work in the end but if you try to ask it how to approach the problem from a different angle it can provide steps for you to get extra info for it to either re-fine or re-suggest its solution

Note: It’s a shame that AI resources are being used on social or political issues rather than solving technology and scientific issues to help progress humanity. I’m still amazed that I was able to feed a 1000 lines of C code to Claude as a test and it was able to determine the components purposes and the network proxy applications of it all…

Google AI seems a little more friendly and personable whereas Claude is more on task and professional ha 🙂

~

AES-256 ARM Hardware Instruction Usage In C!

I wanted to eventually experiment with using the AES hardware instruction but for the ARM architecture because there are ways to turn block ciphers into stream ciphers for future usage. There appears to be a C header include file that exists on both Mac and Ubuntu (arm_neon.h) and you can compile this small C program file with standard gcc options (no special arguments needed). The hardware instruction method names appear very cryptic, however, they do seem to work when I tested the hex output against other sites!

K: [00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ]
R: [00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 62 63 63 63 62 63 63 63 62 63 63 63 62 63 63 63 aa fb fb fb aa fb fb fb aa fb fb fb aa fb fb fb 6f 6c 6c cf 0d 0f 0f ac 6f 6c 6c cf 0d 0f 0f ac 7d 8d 8d 6a d7 76 76 91 7d 8d 8d 6a d7 76 76 91 53 54 ed c1 5e 5b e2 6d 31 37 8e a2 3c 38 81 0e 96 8a 81 c1 41 fc f7 50 3c 71 7a 3a eb 07 0c ab 9e aa 8f 28 c0 f1 6d 45 f1 c6 e3 e7 cd fe 62 e9 2b 31 2b df 6a cd dc 8f 56 bc a6 b5 bd bb aa 1e 64 06 fd 52 a4 f7 90 17 55 31 73 f0 98 cf 11 19 6d bb a9 0b 07 76 75 84 51 ca d3 31 ec 71 79 2f e7 b0 e8 9c 43 47 78 8b 16 76 0b 7b 8e b9 1a 62 74 ed 0b a1 73 9b 7e 25 22 51 ad 14 ce 20 d4 3b 10 f8 0a 17 53 bf 72 9c 45 c9 79 e7 cb 70 63 85 ]
I: [00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ]
O: [dc 95 c0 78 a2 40 89 89 ad 48 a2 14 92 84 20 87 ]
I: [dc 95 c0 78 a2 40 89 89 ad 48 a2 14 92 84 20 87 ]
O: [00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ]

~

Source Code: github.com/stoops/aes/blob/main/aes.c

~

Finally got multi-queue batch-io linux kernel tun interface in C!

Thanks to Google’s AI code snippets, I was able to finally implement multiple threads all reading from a singular tun interface as well as each thread performing larger batch reads/writes in one singular syscall (up to 65536 bytes per call)! Here are the parameters (IFF_MULTI_QUEUE | IFF_VNET_HDR) and calls you need to set to get it:

[xorcipher.com]

~

Source Code: github.com/stoops/vpn/blob/main/gtun.c

Elliptic Curve Memory Refresher

EC ElGamal
point=f(x, y)
G - point (public)
k - integer (private)
Q=kG - point (public)
r - integer [random integer] (private)
s - integer [secret integer] (private)
M=sG - point [secret point] (private)
C=rG - point [reference point] (public)
E=rQ+M - point [encrypted point] (public)
(C, E) - message [(rG, rkG+M)] (public)
D=k*C - point [decryption point] (private)
M=E−D - point [((rkG+M)-krG)] (private)
note: must generate a unique r/M value/coordinate each time for a given key
note: encryption only works in one direction from public key to private key

~

EC DH
- each side generates a secret integer (r) and multiplies with point G (rG)
- each side sends their point multiplication result (rG) to the other
- each side multiplies their secret integer (r) with the exchanged point r(xG)
- each side can encrypt their results before sending with EC ElGamal

~

You can see point S has the same X, Y coordinates in the client as in the server and only points C and E were published!

~

Source Code: github.com/stoops/vpn/blob/main/lib/key.c

Key Generator: github.com/stoops/eckx/blob/main/ecdh.c

~

The Monkey-in-the-Middle Solution Revisited – VPN Style Proxy – LAN==2.5gbps && WAN==1.5gbps

So a little while back I upgraded all my lan components to 2.5gbps and I recently upgraded my wan to 1.5gbps and I wanted to tune up both the VPN solution I had previously made as well as the long since passed Proxy solution. The proxy solution, which is essentially a “Monkey-in-the-Middle” proxy on behalf of all network clients (no TUN interface read/writes are required) but the down side is managing thousands of client based UDP/TCP socket connections and firewall states and file descriptors and memory allocs. On a side note though, as a long time select caller, I finally learnt how to use poll as a better replacement.

With the VPN solution, I like and prefer the clean routing setup, however, I was only able to achieve ~900mbps whereas with the Proxy solution, it’s all pure sockets only where I am able to get ~1300mbps!

I wanted to retest what the performance would be of the MITM Proxy network solution over WiFi 6GHz@2400mbps and I was able to hit pretty fast VPN-style speeds over the network! I will have to retest to see how the VPN solution performs, however, I am trying to explore how multiple bulk IP packets can be read/written to/from the TUN interface in one singular syscall or being able to process larger size packet data before they get broken up by the interface MTU in the Linux Kernel… IFF_VNET_HDR / IFF_MULTI_QUEUE

Over 1.21 Jiggawatts! I mean Gigabits!!

~

~

Warning: Long Screenshot

Connection Management

🙂

MTUN: github.com/stoops/vpn

MITM: github.com/stoops/mitm

~

Trying Out Some Hacky Tampermonkey Javascript Modifications For A Better kick.com Live Stream Video Experience!

The kick.com live stream video experience on the web is not the best overall, it seems to constantly lose track of a previously buffered section of the live stream and then sends you to the live portion but mine also gets stuck on reconnecting again and remains frozen until a manual refresh! I tried to write a series of hacky javascript modifications to help solve the following issues:

  • Always show the bottom video controls bar on the live stream video
  • Always set the volume level to 100% instead of the continually defaulted 50%
  • Accepts a basic timestamp parameter to seek to in a live stream video
  • Keeps track of your latest buffered video seek position
  • Auto reseeks to the last known tracked timestamp if the buffered video jumps forward to live stream and auto reloads the page with the timestamp parameter if the stream connection becomes frozen
// ==UserScript==
// @name         klol
// @namespace    http://tampermonkey.net/
// @version      2026-08-19
// @description  try to take over the world!
// @author       You
// @match        https://kick.com/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=kick.com
// @grant        GM_addStyle
// @noframes
// ==/UserScript==

(function() {
    'use strict';

    GM_addStyle('#channel-chatroom { display: none !important; }');
    GM_addStyle('#sidebar-wrapper[data-nosnippet="true"] { display: none !important; }');
    GM_addStyle('div[class*="sidebar-collapsed-width"][class*="xl:hidden"] { display: none !important; }');
    function hide() {
        const elements = document.querySelectorAll('[class*="group-data-[chat"]');
        const filtered = Array.from(elements).filter(el => !el.classList.contains('data-[is-resizing=true]:transition-none'));
        filtered.forEach(el => {
            el.style.setProperty('display', 'none', 'important');
        });
        const bloc = document.querySelector('a[href="/category/just-chatting"]')?.closest('div.flex');
        if (bloc) { bloc.style.display = 'none'; }
    }
    if (!location.href.match(/^.*\/videos.*$/)) { setInterval(hide, 1.75 * 1000); }

    var join = "?s=";
    var murl = location.href;
    var wait = 5;
    var redo = 0;

    function mmov(time) {
        const targets = document.querySelectorAll('video');
        targets.forEach(target => {
            ['mousedown', 'mouseup', 'click'].forEach(eventType => {
                target.dispatchEvent(new MouseEvent(eventType, {
                    bubbles: true,
                    cancelable: true
                }));
            });
        });
        setTimeout(() => {
            const target = document.querySelector('span[data-orientation="horizontal"]');
            const event = new PointerEvent('pointerdown', {
                bubbles: true,
                cancelable: true,
                composed: true,
                pointerId: 1,
                pointerType: 'mouse',
                isPrimary: true,
                clientX: 151,
                clientY: 521,
                button: 0,
                buttons: 1,
                pressure: 0.5
            });
            target.dispatchEvent(event);
            setTimeout(() => {
                document.querySelector("video").currentTime = time;
                const target = document.querySelector('span[data-orientation="horizontal"]');
                target.dispatchEvent(new PointerEvent('pointerup', {
                    bubbles: true,
                    cancelable: true,
                    composed: true,
                    pointerId: 1,
                    pointerType: 'mouse',
                    isPrimary: true,
                    clientX: 151,
                    clientY: 521,
                    button: 0,
                    buttons: 0
                }));
            }, 357);
        }, 135);
    }

    function msec(inpt) {
        var info = inpt.split(":");
        if (info.length == 3) {
            return ((parseInt(info[0]) * 3600) + (parseInt(info[1]) * 60) + parseInt(info[2]));
        }
        return 0;
    }

    function mbuf(objc, urls, time) {
        if (urls == "") {
            /*var left = new KeyboardEvent("keydown", { bubbles:true, cancelable:true, keyCode:37, which:37, key:"ArrowLeft", code:"ArrowLeft" });
            objc.dispatchEvent(left);
            objc.currentTime = time;*/
            mmov(time);
        } else {
            location.href = (urls + join + time);
        }
    }

    function rsec(time) {
        const hour = Math.floor(time / 3600);
        const mins = Math.floor((time % 3600) / 60);
        const secs = Math.floor(time % 60);
        const hhxx = String(hour).padStart(2, "0");
        const mmxx = String(mins).padStart(2, "0");
        const ssxx = String(secs).padStart(2, "0");
        return (hhxx + ":" + mmxx + ":" + ssxx);
    }

    function cvid(objc) {
        return (objc && (objc.src == "") && (!location.href.match(/^.*\/videos\/.*$/)));
    }

    var r = -1;
    var d = -2;
    var z = -3;
    function mtxt() {
        var q = document.querySelector("video");
        var s = location.href.replace(/\?.*$/mig, "");
        if (cvid(q)) {
            var t = parseInt(q.currentTime);
            var u = (q.duration == Infinity) ? 0 : parseInt(q.duration);
            var c = document.getElementById("channel-content");
            if (c) {
                var o = document.querySelector('[data-testid="follow-button"]');
                if (o) {
                    o.parentNode.innerHTML = ("<span style='font-family:Monaco;'><span id='stop' style='display:none;'></span><span id='last' style='display:none;'>0</span> &nbsp; <a href='" + s + "'><b>&lt;---&gt;</b></a> &nbsp; <a href='javascript:void(0);' onclick='location.href = \"" + s + "?s=\" + document.getElementById(\"secs\").innerText.replace(/[^0-9]/ig, \"\");'><span id='secs'>[X]</span></a> &nbsp; <a href='javascript:void(0);' onclick='var o = document.getElementById(\"stop\"); var v = document.querySelector(\"video\"); if (o.innerText == \"\") { o.innerText = \"stop\"; v.pause(); } else { v.play(); o.innerText = \"\"; }'><span id='time'>" + rsec(t) + "</span></a> &nbsp; </span>");
                }
                var w = document.getElementById("time");
                if (w) {
                    if (murl.includes(join)) {
                        //var q = document.querySelector("video");
                        var p = (parseFloat(murl.replace(/^.*=/mig, "")) - 5.0);
                        console.log(" TIME " + q.readyState + " p:" + p);
                        z = p;
                        mbuf(q, "", p);
                        murl = "";
                    }
                    var stop = document.getElementById("stop");
                    if ((q.readyState != 4) && (stop.innerText == "")) {
                        console.log(" LOAD " + q.readyState + " r:" + r);
                        if (wait > 0) {
                            wait -= 1;
                        } else {
                            if (r > 15) {
                                location.href = (s + join + r);
                            } else {
                                location.href = s;
                            }
                            stop.innerText = "x";
                        }
                    }
                    if ((r > 0) && (z > 0)) {
                        r = z;
                        z = -3;
                    }
                    var last = document.getElementById("last");
                    var h = parseInt(last.innerText);
                    var y = document.getElementById("secs");
                    var e = parseInt(r + ((u - r) * 0.75));
                    if (u != 0) {
                        if ((r > 0) && ((t < 15) || (e < t))) {
                            console.log(" KICK " + q.readyState + " w:" + w.innerText + " t:" + t + " u:" + u + " h:" + h + " e:" + e + " r:" + r);
                            mbuf(q, s, r);
                            redo = 5;
                        } else {
                            y.style.color = "#31e531";
                            y.innerText = (" [" + t + "] ");
                            r = t; d = -9;
                            last.innerText = t;
                            document.getElementById("time").innerHTML = ("-" + rsec(u - t));
                        }
                    } else {
                        y.style.color = "#e95555";
                        y.innerText = (" [" + t + "] ");
                        r = -9; d = t;
                        last.innerText = "0";
                        document.getElementById("time").innerHTML = ("+" + rsec(t));
                    }
                }
            }
        }
    }

    function maud() {
        var vido = document.getElementById("vido");
        var volu = document.querySelector("video");
        if (cvid(volu)) {
            if (!vido) {
                var main = document.querySelector("main").parentNode;
                document.body.innerHTML = "<div id='vido'></div>";
                document.body.appendChild(main);
                //const newd = document.createElement("div");
                //newd.id = "vido";
                //document.body.appendChild(newd);
                setInterval(mtxt, 1.91 * 1000);
            } else {
                volu.volume = 1;
            }
        }
    }
    setInterval(maud, 1.91 * 1000);
})();

Lessons Learned From Implementing Multi-Threaded VPNs!

When reading packets or network data from a tunnel interface, the order in which they are read does matter as they can impact connectionless protocols and also cause stateful protocols to spend time re-ordering data! There were three techniques that I tried implementing to solve this issue:

  • Map a packet address to a thread index during the entire time of every connection state
  • Index and order every packet read by number and wait to write them out in the same sequence
  • Lock and time and order each threaded process just like many pistons firing inside of an engine block

One other observation I noticed is speed tests may seem lower which I believe is because of all the extra inner header data being prepended to the buffers in addition to the outer IPv4 + TCP headers:

  • MITM: Encryption header/trailer
  • MTUN: Encryption header/trailer + Inner IPv4 header + Inner protocol header
  • GTUN: Encryption header/trailer + Inner IPv4 header + Inner protocol header + Batch read header

Added note: Making a VPN-style MITM Proxy service which handles thousands of network states and file descriptors is all about connection management and thread management!

Final note: Building these solutions on top of TCP allows for larger payloads, ordered delivery, auto keepalives, and connection management – full size MTU!

~

MTUN: github.com/stoops/vpn

MITM: github.com/stoops/mitm

~