SecureBlackbox 2020 macOS Edition

Questions / Feedback?

DeriveKey Method

Generates a strong cryptographic key from a password.

Syntax

public func deriveKey(keyBits: Int32, password: String, salt: String) throws -> Void

Remarks

Use this method to generate a cryptographically strong key of a needed length from a password.

This method uses a general-purpose PBKDF2 function with PRF1 and 2048 iterations.

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 macOS Edition - Version 20.0 [Build 8166]