Skip to content

Commit cee51b0

Browse files
committed
removed hidden spaces in chaos_encryption
1 parent 850162b commit cee51b0

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Project_Andrew/chaos_encryption.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def sync_phase(self, partner_sig):
3030
my_sig = self.state[:7]
3131
# Calculate the 'Logical Distance' (Phase Lag)
3232
diff = np.linalg.norm(partner_sig - my_sig)
33-
33+
3434
# If we are desynced, 'nudge' the torque to close the gap
3535
# This is the 'Elastic Torque' that handles network jitter
3636
if diff > 0.001:
@@ -55,14 +55,14 @@ def collapse(self):
5555
# Simulate 10 cycles with intentional 'Network Jitter'
5656
for i in range(10):
5757
sig_a = alice.oscillate()
58-
58+
5959
# Simulate Bob being slightly 'off' due to jitter
6060
if i == 5:
6161
print("[!] Jitter detected: Bob's packet delayed.")
6262
bob.torque -= 0.05 # Bob slows down temporarily
63-
63+
6464
sig_b = bob.oscillate()
65-
65+
6666
# 7D Phase Correction: Alice and Bob exchange signatures to sync
6767
alice.sync_phase(sig_b)
6868
bob.sync_phase(sig_a)

0 commit comments

Comments
 (0)