//initial header(metadata) payload(data) signature( oneWayEncryption( header + payload + secretkey ) ) //output base64(header + payload + signature);