Started on encryption.

Signed-off-by: Lucas Arnström <lucasarnstrom@gmail.com>