public string Encrypt(string text, SecureString pass = null) { var password = pass ?? GetPassword(); return(FileSecurity.Encrypt(text, password)); }