Move utilities to Bytes.swift.
Refactor decrypt, implement crypt.