Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- NSData *hmac = [self hmac: encrypted withKey: hmacKey withIV: iv withA:
- [baseHeader dataUsingEncoding:NSASCIIStringEncoding]];
- return [NSString stringWithFormat:@"%@.%@.%@.%@.%@", baseHeader, baseCEK, baseIV, basePayload, [[self hmacToTag: hmac] unpaddedBase64URLEncoded]];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement