-
-
Notifications
You must be signed in to change notification settings - Fork 3
libsodium.PKI.SigningKey.Derive
Andrew Lambert edited this page Nov 26, 2022
·
6 revisions
libsodium.PKI.SigningKey.Derive
Shared Function Derive(PrivateKeyData As MemoryBlock) As libsodium.PKI.SigningKey| Name | Type | Comment |
|---|---|---|
| PrivateKeyData | MemoryBlock | The user's private key (exactly crypto_scalarmult_BYTES long). |
An instance of SigningKey containing the derived key pair, or Nil on error.
Given a user's private key, this method derives a SigningKey pair. The PrivateKeyData is assumed to be high-entropy and is used directly as the private key. As such DO NOT use this method to derive a key pair from low-entropy data like a password: use SigningKey.Constructor(Password) instead.
Wiki home | Project page | Bugs | Become a sponsor
Text and code examples are Copyright ©2016-26 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