session-ios/Signal/src/crypto/EvpMessageDigest.h
Frederic Jacobs c6d44e59e2 TextSecureKit Refactoring
- Using same clang format file for old and new files.
- Moving out all TextSecure code to allow other clients (OS X, iOS) to
  integrate easily TextSecure functionality.
- Use TextSecure API to signup.
2015-12-22 23:41:10 +01:00

11 lines
327 B
Objective-C

#import <Foundation/Foundation.h>
// Implements class level functions for Openssl's EVP_Digest Api
@interface EvpMessageDigest : NSObject
+ (NSData *)hashWithSha256:(NSData *)data;
+ (NSData *)hmacUsingSha1Data:(NSData *)data withKey:(NSData *)key;
+ (NSData *)hmacUsingSha256Data:(NSData *)data withKey:(NSData *)key;
@end