feat: update readme, add encrypt/decrypt by smart card(yubikey)
This commit is contained in:
@@ -48,9 +48,9 @@ Smart Card(Yubikey) protected ECDH Encryption description:
|
||||
┌───────────────────┐ ┌───────────────────────────┐
|
||||
│Tiny Encrypt │ │Smart Card (Yubikey) │
|
||||
│ │ Get Public Key(P) │ │
|
||||
│ │ ◄───────────────────┤ Private Key d │
|
||||
│ │ ◄───────────────────┤ Private Key(d) │
|
||||
│ │ │ P = dG │
|
||||
│ │ Temp Private Key k │ │
|
||||
│ │ Temp Private Key(k) │ │
|
||||
└───────────────────┘ Q = kG └───────────────────────────┘
|
||||
|
||||
Shared Secret = kP = kdG
|
||||
|
||||
Reference in New Issue
Block a user