-
Notifications
You must be signed in to change notification settings - Fork 0
Simple hashing | Hash Sources
Black_Baroness edited this page Sep 1, 2022
·
1 revision
Creating a HashSource
is very easy. We can use a factory,
instance initialization, or just implement our own class. But factory is easiest:
// for string
HashSources.ofString("qwerty");
// for file
HashSources.ofFile(new File("hello world.txt"));
///...there are many more options
That's it, we're ready to hash!