开发者

How to base64url Encode Strings in Cocoa Touch

Is there a library function/method/cla开发者_Python百科ss in Cocoa Touch for base64url encoding strings?


While there isn't a standard way to do this with the Apple frameworks, you should certainly check out CocoaDev's entry and discussion on the topic: BaseSixtyFour. They have plenty of ways to work this out, and the last comment there doesn't require libcrypto, or any external frameworks (which, on iOS, is a good start). It's definitely worth a look.

Update: Or even better, check out Base64 encoding options on Mac and iPhone on CocoaWithLove, as it includes excellent source code.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜