I just updated from Xcode 7 to the 8 GM and amidst the Swift 3 compatibility issues I noticed that my device tokens have stopped working. They now only read \'32BYTES\'.
Swift 3
The best and easiest way.
deviceToken.base64EncodedString()