Advertisement
Guest User

Untitled

a guest
Aug 22nd, 2019
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. NSData *hmac = [self hmac: encrypted withKey: hmacKey withIV: iv withA:
  2. [baseHeader dataUsingEncoding:NSASCIIStringEncoding]];
  3.  
  4. return [NSString stringWithFormat:@"%@.%@.%@.%@.%@", baseHeader, baseCEK, baseIV, basePayload, [[self hmacToTag: hmac] unpaddedBase64URLEncoded]];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement