added encryption to RIN; fails to unencrypted RIN if pycogworks.crypto package is not installed.