Skip to content

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

@shobhit15082003

Description

@shobhit15082003

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue:featureissue is created for new feature requestType:HardPr is accepted with difficulty level as hard

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions