You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
681 B

  1. # cryptofun
  2. Crypto algorithms from scratch. Academic purposes only.
  3. ## RSA
  4. https://en.wikipedia.org/wiki/RSA_(cryptosystem)#
  5. - [x] GenerateKeyPair
  6. - [x] Encrypt
  7. - [x] Decrypt
  8. - [x] Blind
  9. - [x] Blind Signature
  10. - [x] Unblind Signature
  11. - [x] Verify Signature
  12. - [x] Homomorphic Multiplication
  13. ## Paillier
  14. https://en.wikipedia.org/wiki/Paillier_cryptosystem
  15. - [x] GenerateKeyPair
  16. - [x] Encrypt
  17. - [x] Decrypt
  18. - [x] Homomorphic Addition
  19. ## Shamir Secret Sharing
  20. https://en.wikipedia.org/wiki/Shamir%27s_Secret_Sharing
  21. - [x] create secret sharing from NumOfSecretsNeed, NumOfShares, RandPointP, SecretToShare
  22. - [x] Lagrange Interpolation to restore the secret from the shares
  23. ## ECC