Skip to content

bearddan2000/java-cli-sbt-crypto-gzip-compress-rsa-encrypted-scrypt-encoded

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

java-cli-sbt-crypto-gzip-compress-rsa-encrypted-scrypt-encoded

Description

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.

Tech stack

  • java
  • sbt

Docker stack

  • hseeberger/scala-sbt:11.0.2-oraclelinux7_1.3.5_2.12.10

To run

sudo ./install.sh -u

To stop (optional)

sudo ./install.sh -d

For help

sudo ./install.sh -h

Credits