NSData(TuSDKTSNSDataExtend) Category Reference

Declared in TuSDKTSNSData+Extend.h

Overview

数据扩展

– lsqMd5

获取MD5

- (NSString *)lsqMd5

Return Value

获取MD5

Declared In

TuSDKTSNSData+Extend.h

– lsqGetByteWithPostion:

获取指定位置的数据

- (Byte)lsqGetByteWithPostion:(NSUInteger)postion

Parameters

postion

范围

Return Value

数据

Declared In

TuSDKTSNSData+Extend.h

– lsqEncryptAES256CBCPKCS7PaddingWithKey:

使用AES/CBC/PKCS7Padding 256位加密

- (NSData *)lsqEncryptAES256CBCPKCS7PaddingWithKey:(NSString *)key

Parameters

key

秘钥

Return Value

解密数据

Declared In

TuSDKTSNSData+Extend.h

– lsqDecryptAES256CBCPKCS7PaddingWithKey:

使用AES/CBC/PKCS7Padding 256位解密

- (NSData *)lsqDecryptAES256CBCPKCS7PaddingWithKey:(NSString *)key

Parameters

key

秘钥

Return Value

解密数据

Declared In

TuSDKTSNSData+Extend.h

+ lsqDataFromBase64String:

解析base64字符串

+ (NSData *)lsqDataFromBase64String:(NSString *)str

Parameters

str

base64编码字符串

Return Value

解析base64数据

Declared In

TuSDKTSNSData+Extend.h

– lsqBase64encode

base64编码

- (NSString *)lsqBase64encode

Return Value

base64编码

Declared In

TuSDKTSNSData+Extend.h