Skip to content
This repository has been archived by the owner on Dec 20, 2017. It is now read-only.

Wrote some classes for extra usability. #8

Closed
wants to merge 4 commits into from
Closed

Wrote some classes for extra usability. #8

wants to merge 4 commits into from

Conversation

drilonrecica
Copy link

Hi, I have used your library a lot of times and really like it, so I thought I can somehow contribute to it and make it even easier to use and needing less code for the user.
Please review my code and if you find it ok accept it, if not tell me so we can make it even better.

Thanks in advance

Drilon Recica added 4 commits March 31, 2016 16:42
You can use this as your password for encyption/decryption or change the
hash code generator logic for your own needs.
In the SharedPrefsManager class, you can access it from any class you want ,
to store or retrieve values from the SharedPreferences, like for example the
random generated hash code password.
You can use the Crypter class to encrypt decrypt Strings faster,
simply by creating an instance of the Crypter class with a context
parameter, and then calling its two methods encrypt() or decrypt()
which both take a String parameter which is either encrypted or
decrypted depending on the called method from the user.
Create the equivalent static methods for encyption and decryption,
which also take the password variable as a parameter from the user.
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.

None yet

1 participant