Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
metamorphic-spyware committed Sep 3, 2021
1 parent e379d96 commit d020502
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ After Following All The Steps Mentioned Above (If You Don't Get An Error) EnroCr
```python
# For Encryption
from enrocrypt import core
obj = core()
obj = core.Core()
value = obj.Encrypt(b'text')
print(value)
# For Decryption
Expand All @@ -40,7 +40,15 @@ config = {
}
}
# You need a Core Class Object to access that function
obj = core()
obj = core.Core()
obj.set_config(config)
```
## Getting A Hashing Class Object
We Suggest Not To Use The Hashing Class By Importing It Directly As If You Do So You Can't Add Your Custom Salt <br>
To Add Custom Salt Follow The `Adding Configuration`. After You Did That You Have To Get A Hasing Class Object By A Core Class Function<br>
```python
from enrocrypt import core
obj = core.Core()
hasing_obj = obj.get_hash_object()
```
(See Discussion For More Info)

0 comments on commit d020502

Please sign in to comment.