Benign python Download

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

Evidence

bytearray in-place XOR mutation loop egg.py · lines 1–12
⋯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:
chr-join character assembly transform egg.py · lines 60–64
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]
Generic 'encrypt' term in strings egg.py · lines 102–106
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))
PyPI package has basic metadata METADATA · lines 1–11
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
English language detection LICENSE · lines 5–8
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

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.