1
2
3
4
5
6
7
8
9
10
11
|
/*
* Copyright (c) 2016 - 2019 Jonathan Schleifer <js@heap.zone>
*
* https://heap.zone/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.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
|
|
1
2
3
4
5
6
7
8
9
10
11
|
/*
* Copyright (c) 2016 - 2020 Jonathan Schleifer <js@nil.im>
*
* 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.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
23
24
25
26
27
28
29
30
31
32
33
|
#import "PasswordGenerator.h"
@interface LegacyPasswordGenerator: OFObject <PasswordGenerator>
{
size_t _length;
OFString *_site;
OFData *_keyFile;
const char *_passphrase;
unsigned char *_output;
}
@end
|
|
<
|
23
24
25
26
27
28
29
30
31
32
|
#import "PasswordGenerator.h"
@interface LegacyPasswordGenerator: OFObject <PasswordGenerator>
{
size_t _length;
OFString *_site;
OFData *_keyFile;
OFSecureData *_passphrase, *_output;
}
@end
|