mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-22 18:49:27 +00:00
Added support for both standard and custom characters sets
This commit is contained in:
@@ -26,7 +26,9 @@ typedef NS_OPTIONS(NSUInteger, MPPasswordCharacterFlags) {
|
||||
*
|
||||
* @return new password with only the allowed characters.
|
||||
*/
|
||||
+ (NSString *)passwordWithCharactersets:(MPPasswordCharacterFlags)allowedCharacters length:(NSUInteger)theLength;
|
||||
+ (NSString *)passwordWithCharactersets:(MPPasswordCharacterFlags)allowedCharacters
|
||||
withCustomCharacters:(NSString*)customCharacters
|
||||
length:(NSUInteger)theLength;
|
||||
/**
|
||||
* Creats a password based on the supplied string
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user