-
-
Notifications
You must be signed in to change notification settings - Fork 3
libsodium.PKI.EncryptionKey
Andrew Lambert edited this page Jan 21, 2023
·
12 revisions
Protected Class EncryptionKey
This class contains a curve25519 key pair for use with authenticated public key encryption.
To generate a brand new key pair use the Generate shared method, optionally passing in some seed data. To derive a key pair from a Password use the Constructor(Password) method.
To import and export the secret half of an encryption key use the Import and Export methods; use the PublicKey class to import or export the public half.
- libsodium.PKI.DecryptData method
- libsodium.PKI.EncryptData method
- libsodium.PKI.SealData method
- libsodium.PKI.UnsealData method
- SigningKey class
Wiki home | Project page | Bugs | Become a sponsor
Text and code examples are Copyright ©2016-24 Andrew Lambert, offered under the CC BY-SA 3.0 License.
- libsodium module
- FAQ
-
Examples
- Secure memory
- Password hashing
- Generic hashing
- Encrypting streams or files
- PKI
- Encryption
- Digital signatures
- SKI
- Encryption
- Message authentication