Skip to content

san-lab/id-based-encryption

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Identity-based Encryption

Prototype of identity-based encryption based on Boneh-Franklin scheme, leveraging gnark-crypto library.

Run

go build
./id-based-encryption
./id-based-encryption -mode tpgk

Client APIs

GET /master-public-key

POST /encrypt

{
    "Id": "[email protected]",
    "Plaintext": "test"
}

POST /decrypt

{
    "UserPrivKey": "04d1...",
    "Ciphertext": "7b22..."
}

TPKG APIs

GET /master-public-key

POST /extract

{
    "Id": "[email protected]"
}

About

Identity Based Encryption

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages