keyPassword (property)
A password to generate the Key and IV .
Syntax
@property (nonatomic,readwrite,assign,getter=keyPassword,setter=setKeyPassword:) NSString* keyPassword; - (NSString*)keyPassword; - (void)setKeyPassword:(NSString*)newKeyPassword;
public var keyPassword: String { get {...}
set {...} }
Default Value
""
Remarks
When this property is set the class will calculate values for Key and IV using the PKCS5 password digest algorithm. This provides a simpler alternative to creating and managing Key and IV values directly.
The size of the Key generated is dependent on the value of KeySize.