SecureBlackbox 2020 iOS Edition

Questions / Feedback?

deriveKey (method)

Generates a strong cryptographic key from a password.

Syntax

- (void)deriveKey:(int)keyBits :(NSString*)password :(NSString*)salt;
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 iOS Edition - Version 20.0 [Build 8166]