Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: A user can share his/her details with someone by sending him key . #12

Open
1 task done
shobhit15082003 opened this issue Mar 22, 2024 · 3 comments
Open
1 task done
Labels
Issue:feature issue is created for new feature request Type:Hard Pr is accepted with difficulty level as hard

Comments

@shobhit15082003
Copy link
Member

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

  • I agree to follow this project's Code of Conduct
@shobhit15082003 shobhit15082003 added Issue:feature issue is created for new feature request Type:Hard Pr is accepted with difficulty level as hard labels Mar 22, 2024
@sharvil-lade
Copy link

@MishraSomesh001 please assign this task to me.

@AdityaKumar5155
Copy link

@MishraSomesh001 Assign this task to me

@xTwo56
Copy link
Contributor

xTwo56 commented Apr 12, 2024

@MishraSomesh001 Kindly assign me this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue:feature issue is created for new feature request Type:Hard Pr is accepted with difficulty level as hard
Projects
None yet
Development

No branches or pull requests

4 participants