BlockDev.CryptoLUKSPBKDF¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
hash |
r/w |
hash for LUKS header or |
|
iterations |
r/w |
requested iterations or 0 for default (benchmark) |
|
max_memory_kb |
r/w |
requested memory cost (in KiB) or 0 for default (benchmark) |
|
parallel_threads |
r/w |
requested parallel cost (threads) or 0 for default (benchmark) |
|
time_ms |
r/w |
requested time cost or 0 for default (benchmark) |
|
type |
r/w |
PBKDF algorithm |
Methods¶
class |
|
Details¶
- class BlockDev.CryptoLUKSPBKDF¶
- classmethod new(type, hash, max_memory_kb, iterations, time_ms, parallel_threads)¶
- Parameters:
hash (
str
orNone
) – hash for LUKS header orNone
for defaultmax_memory_kb (
int
) – requested memory cost (in KiB) or 0 for default (benchmark)iterations (
int
) – requested iterations or 0 for default (benchmark)time_ms (
int
) – requested time cost or 0 for default (benchmark)parallel_threads (
int
) – requested parallel cost (threads) or 0 for default (benchmark)
- Returns:
a new pbkdf argument
- Return type: