Skip to content

Instantly share code, notes, and snippets.

🐧
Lettuce-based Cryptography is the future of cryptosalads

Tux tuxxy

🐧
Lettuce-based Cryptography is the future of cryptosalads
Block or report user

Report or block tuxxy

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@tuxxy
tuxxy / springer-free-maths-books.md
Created Sep 20, 2018 — forked from bishboria/springer-free-maths-books.md
Springer made a bunch of books available for free, these were the direct links
View keybase.md

Keybase proof

I hereby claim:

  • I am tuxxy on github.
  • I am tux_ (https://keybase.io/tux_) on keybase.
  • I have a public key whose fingerprint is 2CF6 0381 B5EF 29B7 D48C 2020 7BB9 71A0 E891 44D9

To claim this, I am signing this object:

@tuxxy
tuxxy / homomorphic_rsa_demo.py
Last active Oct 31, 2019
This is a demo of the multiplicative homomorphic qualities of unpadded RSA encryption.
View homomorphic_rsa_demo.py
#!/usr/bin/env python3
from Cryptodome.PublicKey import RSA
# A proof of concept demo showing the multiplicative limited
# homomorphic qualities of unpadded RSA
# (Unpadded RSA is not secure by modern standards)
def gen_key(size):
key = RSA.generate(size)
View gist:b8c5939811bf6fed0b8a
### Keybase proof
I hereby claim:
* I am tuxxy on github.
* I am tux_ (https://keybase.io/tux_) on keybase.
* I have a public key whose fingerprint is 9679 BC01 329E E444 5022 64CB 859B C66E 72B0 F57A
To claim this, I am signing this object:
@tuxxy
tuxxy / pass.py
Last active May 8, 2019
Password Censor
View pass.py
#!/usr/bin/env python
import sys
""" Takes any file with format:
<hash>:<password>
as an argument. Example:
`python pass.py list.txt`
Include a second argument for output. Example:
`python pass.py list.txt output.txt`
Alternatively, you can use stdout:
You can’t perform that action at this time.