mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-24 19:39:35 +00:00
key file to database file mapping now hash the database url to obscure the mapping
This commit is contained in:
17
MacPass/NSString+MPHash.h
Normal file
17
MacPass/NSString+MPHash.h
Normal file
@@ -0,0 +1,17 @@
|
||||
//
|
||||
// NSString+MPHash.h
|
||||
// MacPass
|
||||
//
|
||||
// Created by Michael Starke on 05/02/16.
|
||||
// Copyright © 2016 HicknHack Software GmbH. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
@interface NSString (MPHash)
|
||||
|
||||
@property (copy, readonly, nonatomic) NSString *sha1HexDigest;
|
||||
|
||||
+ (NSString *)sha1HexDigest:(NSString*)input;
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user