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