Skip to content
This repository has been archived by the owner on May 25, 2021. It is now read-only.

Method for calculating a value for N depending on CPU speed #12

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

HungryHobo
Copy link

Feel free to merge this if you think it adds value.

@GrmpCerber
Copy link

Hi HungryHobo

I love the idea but I've a few questions / remarks. See below.

Regards

Cerber

@@ -23,6 +25,12 @@
public class SCrypt {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do you place this method inside the main class ?
Since it's use case is not part of "standard operations" why don't you extract it to another class ?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're absolutely right, it belongs in ScryptUtil. I accidentally put it in Scrypt.java.
I'll push a fix. Thanks for pointing this out.

@HungryHobo
Copy link
Author

I have updated the pull request based on GrmpCerber's feedback.

@Tintress15
Copy link

Thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants