Encrypt password with RSA. To compress the encrypted text gzip was used.
When storing a password it is best practice to use a one-way hash such as bcrypt, scrypt, or argon2.
There seems to be a weakness in scrypt; pragmatically we verify a plaintext that is encrypted with an established hash. The straight-forward leads me to believe a rain- bow table is very possible with this algorithm.
Compiled and ran from build server bloop
.
Dependencies must be compatable with jdk8 or less.
- bloop
- java
- bloop-sbt
- hseeberger/scala-bloop-sbt:11.0.2-oraclelinux7_1.3.5_2.12.10
sudo ./install.sh -u
sudo ./install.sh -d
sudo ./install.sh -h