21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
*/
#import <ObjFW/ObjFW.h>
@protocol PasswordGenerator
@property (nonatomic) size_t length;
@property (copy, nonatomic) OFString *site;
@property (retain, nonatomic) OFData *keyfile;
@property (nonatomic) const char *passphrase;
@property (readonly, nonatomic) unsigned char *output;
+ (instancetype)generator;
- (void)derivePassword;
@end
|
|
|
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
*/
#import <ObjFW/ObjFW.h>
@protocol PasswordGenerator
@property (nonatomic) size_t length;
@property (copy, nonatomic) OFString *site;
@property (retain, nonatomic) OFData *keyFile;
@property (nonatomic) const char *passphrase;
@property (readonly, nonatomic) unsigned char *output;
+ (instancetype)generator;
- (void)derivePassword;
@end
|