reformat code, add curve25519xsalsa20poly1305 encryption