-
-
Notifications
You must be signed in to change notification settings - Fork 3
libsodium.PKI.EncryptionKey.Import
Andrew Lambert edited this page Nov 26, 2022
·
5 revisions
libsodium.PKI.EncryptionKey.Import
Shared Function Import(ExportedKey As MemoryBlock, Optional Passwd As libsodium.Password) As libsodium.PKI.EncryptionKey
Shared Function Import(ExportedKey As FolderItem, Optional Passwd As libsodium.Password) As libsodium.PKI.EncryptionKey| Name | Type | Comment |
|---|---|---|
| ExportedKey | MemoryBlock or FolderItem | An exported EncryptionKey |
| Passwd | Password | Optional. The password used to encrypt the exported key |
An instance of EncryptionKey containing the imported key pair, or Nil on error.
Import an EncryptionKey that was exported using EncryptionKey.Export. Pass the Password if the imported key was encrypted.
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