How encrypt file log.txt with password and send via email with rust?

how encrypt file log.txt with password and send via email with rust?