Encrypt
Encrypt["password", expr] encrypts expr using the specified password, returning an encrypted object.
Encrypt[keyspec, expr] encrypts expr using the cryptographic key specification keyspec.
Encrypt[expr] interactively requests a password with which to encrypt expr.
Examples
Encrypt data with password:
enc = Encrypt["secret", "My private data"]
(* EncryptedObject[...] *)Decrypt it:
Decrypt["secret", enc]
(* "My private data" *)Please visit the official Wolfram Language Reference for more details.