mirror of https://github.com/oxen-io/session-ios
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
293 B
Objective-C
17 lines
293 B
Objective-C
// Copyright © 2016 Open Whisper Systems. All rights reserved.
|
|
|
|
#import "ECKeyPair+OWSPrivateKey.h"
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@implementation ECKeyPair (OWSPrivateKey)
|
|
|
|
- (NSData *)ows_privateKey
|
|
{
|
|
return [NSData dataWithBytes:self->privateKey length:32];
|
|
}
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|