Fixes several warnings

Hi,

I'm using RNCryptor in one of my examples in PSPDFKit and have quite some more warnings enabled. This pull request fixes those. 

Caveat: Only for the files I actually use, there might be more warnings that I missed because I only use a subset here. Still better than nothing.