feat: update readme, add encrypt/decrypt by smart card(yubikey)

This commit is contained in:
2023-09-26 00:55:07 +08:00
parent 5467bf797f
commit 76af3ed90f

View File

@@ -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