https://github.com/5arthak01/encryption
My exploration in encryption. Currently contains C++ implementation of RSA.
https://github.com/5arthak01/encryption
cpp hacktoberfest
Last synced: about 1 year ago
JSON representation
My exploration in encryption. Currently contains C++ implementation of RSA.
- Host: GitHub
- URL: https://github.com/5arthak01/encryption
- Owner: 5arthak01
- License: mit
- Created: 2020-06-12T11:54:59.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-08-22T17:09:33.000Z (almost 6 years ago)
- Last Synced: 2025-02-09T20:15:51.380Z (over 1 year ago)
- Topics: cpp, hacktoberfest
- Language: C++
- Homepage:
- Size: 10.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Encryption
My exploration in encryption.
## RSA
[RSA](/RSA) contains my 64-bit(scalable) RSA encryption implemented in C++
* Why Permuted Congruential Generator(PCG) as Pseudo Random Number Generator(PRNG)?
Although Mersenne Twister is a huge step ahead from srand/rand, it is not ideal in any view. [This](https://www.pcg-random.org/other-rngs.html) and [this](https://arxiv.org/pdf/1910.06437.pdf) is evidence. Xorshift is a considerable option but [since it is predicatable and has a smaller period](https://arvid.io/2018/07/02/better-cxx-prng/#fnref3), PCG is a very small price to pay in speed with great returns in quality.