Skip to content

bearddan2000/java-cli-bloop-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-bloop-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.

Compiled and ran from build server bloop.

Build note

Dependencies must be compatable with jdk8 or less.

Tech stack

  • bloop
  • java
  • bloop-sbt

Docker stack

  • hseeberger/scala-bloop-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