@@ -1,9 +1,9 @@ /* - * Copyright (c) 2016 - 2019 Jonathan Schleifer + * Copyright (c) 2016 - 2020 Jonathan Schleifer * - * https://heap.zone/git/cryptopassphrase.git + * https://nil.im/git/cryptopassphrase.git * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice is present in all copies. * @@ -24,11 +24,11 @@ @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; +@property (retain) OFSecureData *passphrase; +@property (readonly, nonatomic) OFSecureData *output; + (instancetype)generator; - (void)derivePassword; @end