[Feature]: A user can share his/her details with someone by sending him key . #12
Labels
Issue:feature
issue is created for new feature request
Type:Hard
Pr is accepted with difficulty level as hard
So, what is it about?
New Function: shareUserDetails
Description:
Add a new function shareUserDetails which allows a user to share their details securely with someone.
This function takes the Aadhar number and an encryption key as input.
The function encrypts the user details and returns the encrypted data.
Private Function: encrypt
Description:
Introduce a private function encrypt to perform encryption.
Modifier: onlyOwner
Description:
Add a modifier onlyOwner to restrict certain functions to be called only by the contract owner.
This ensures that critical operations are only performed by the contract owner, maintaining security and control.
Note: Use Kechhak256
Code of Conduct
The text was updated successfully, but these errors were encountered: