Using Realm Swift 0.96.3:
I am having problems encrypting the Realm database and I am using the same exact code example to generate the key as in the example provided by Realm (https://github.com/realm/realm-cocoa/tree/master/examples/ios/swift-2.1/Encryption). I am able to open the file the Realm Browser still. I also tried writeCopyToPath(_:encryptionKey:) and opened it in a completely different project without providing an encryption key and it was able to be read and write to it.
I have read the stackOverflow answers: SWIFT - Realm db encryption not working Swift - encrypted realm db can still be accessed without key
These answers have not helped me as of yet. Is there anything else that I can try at this point? Thank you for your help.