CryptoPassphrase  Diff

Differences From Artifact [a21fea91c9]:

To Artifact [20269debc0]:


19
20
21
22
23
24
25
26
27
28
29





30
31
32
33
19
20
21
22
23
24
25




26
27
28
29
30
31
32
33
34







-
-
-
-
+
+
+
+
+




 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 * POSSIBILITY OF SUCH DAMAGE.
 */

#import <ObjFW/ObjFW.h>

@protocol PasswordGenerator
@property size_t length;
@property (nonatomic, copy) OFString *site;
@property const char *passphrase;
@property (readonly) unsigned char *output;
@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