ruby: make /data encryptable