[WIP] Adding handling for cryptography

`strlcopy()` might be preferred here since it adds the terminating byte automatically.