eggcrypt 3.0.0
Legitimate encryption library source code
“A pretty secure (yet inneficient) encryption program. Has key(), hash(), encrypt() and decrypt().”
bytearray in-place XOR mutation loopchr-join character assembly transform
SHA-256eaba7548af1855a4ceb69558e19a60f7cc2a9d799f2c4831376aecb592c8e0e3
MaleculeO(As)H(Db)
Evidence
⋯4 lines
5 x=ord(c)+(i<<8)
6 j=i%4
7 H[j]^=x
8 H[j]=(H[j]*0x100000001b3)&0xffffffffffffffff
9 H[(j+1)%4]^=H[j]>>17
10 key_str=''.join(f'{x:016x}' for x in H)
11 tot=sum((i+1)*ord(c) for i,c in enumerate(key_str))
12 for i in inp:
60 for i in range(1,len(data)):
61 data[i]^=data[i-1]
62 return "".join(chr(x) for x in data)
63def undiffuse(data):
64 data=[ord(c) for c in data]
102 inv[old_pos]=new_pos
103 return inv
104def encrypt(txt,key):
105 for r in range(10):
106 txt=xor_text(txt,roundkey(key,r))
1Metadata-Version: 2.4
2Name: eggcrypt
3Version: 3.0.0
4Summary: A pretty secure (yet inneficient) encryption program. Has key(), hash(), encrypt() and decrypt().
5Author: Egglord
6License: MIT
7Requires-Python: >=3.7
8Description-Content-Type: text/markdown
9License-File: LICENSE
10Dynamic: license-file
11Dynamic: requires-python
5Permission is hereby granted, free of charge, to any person obtaining a copy
6of this software and associated documentation files (the "Software"), to deal
7in the Software without restriction, including without limitation the rights
8to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
No evidence locations were recorded for this file. Raw result