Sailfish Crypto
API DocumentationKeyDerivationParameters QML Type
Encapsulates parameters related to the derivation of a symmetric encryption key More...
Import Statement: | import Sailfish.Crypto 1.0 |
Instantiates: | KeyDerivationParameters |
Properties
- customParameters : object
- inputData : ArrayBuffer
- iterations : int
- keyDerivationAlgorithm : enumeration
- keyDerivationDigestFunction : enumeration
- keyDerivationFunction : enumeration
- keyDerivationMac : enumeration
- memorySize : int
- outputKeySize : int
- parallelism : int
- salt : ArrayBuffer
Detailed Description
Property Documentation
The plugin-specific custom parameters which will be used during key generation
The input data which will be used by the key derivation function to generate the output key
The number of iterations of the hash function or cipher to be used when deriving the key
The algorithm which will be used by the key derivation function
Constant | Description |
---|---|
AlgorithmUnknown | |
AlgorithmCustom | |
AlgorithmRsa | |
AlgorithmDsa | |
AlgorithmDh | |
AlgorithmEc | |
AlgorithmEcDsa | |
AlgorithmEdDsa | |
AlgorithmEcDh | |
AlgorithmEcMqv | |
AlgorithmAes | |
AlgorithmGost | |
AlgorithmTdea | |
AlgorithmTdes | = AlgorithmTdea |
AlgorithmBlowfish | |
AlgorithmSalsa | |
AlgorithmSalsa20 | = AlgorithmSalsa |
AlgorithmChaCha | |
AlgorithmChaCha20 | = AlgorithmChaCha |
AlgorithmRc4 | |
AlgorithmRc5 | |
AlgorithmRc6 | |
AlgorithmSquare | |
AlgorithmSerpent | |
AlgorithmPanama |
The digest function which will be used by the key derivation function
Constant | Description |
---|---|
DigestUnknown | |
DigestCustom | |
DigestMd5 | |
DigestSha1 | |
DigestSha2_224 | |
DigestSha2_256 | |
DigestSha256 | = DigestSha2_256 |
DigestSha2_384 | |
DigestSha2_512 | |
DigestSha512 | = DigestSha2_512 |
DigestSha2_512_224 | |
DigestSha2_512_256 | |
DigestSha3_224 | |
DigestSha3_256 | |
DigestSha3_384 | |
DigestSha3_512 | |
DigestShake128 | |
DigestShake256 | |
DigestGost_94 | |
DigestGost_2012_256 | |
DigestGost_2012_512 | |
DigestBlake | |
DigestBlake2 | |
DigestBlake2b | |
DigestBlake2s | |
DigestWhirlpool | |
DigestRipeMd | |
DigestRipeMd128_256 | |
DigestRipeMd160 | |
DigestRipeMd320 | |
DigestTiger | |
DigestTiger128 | |
DigestTiger160 | |
DigestTiger192 | |
DigestTiger2 | |
DigestTiger2_128 | |
DigestTiger2_160 | |
DigestTiger2_192 | |
DigestRadioGatun |
The key derivation function which should be used to derive the key
Constant | Description |
---|---|
KdfUnknown | |
KdfCustom | |
KdfPkcs5Pbkdf2 | |
KdfHkdf | |
KdfBcrypt | |
KdfScrypt | |
KdfArgon2 | |
KdfArgon2d | = KdfArgon2 |
KdfArgon2i | |
KdfArgon2id | |
KdfLyra2 |
The message authentication code function which will be used by the key derivation function
Constant | Value |
---|---|
MacUnknown | |
MacCustom | |
MacHmac | |
MacCmac | |
MacVmac | |
MacPoly1305 |