Web API Reference | MapGuide Open Source

- Overview
- Modules
- Classes

EncryptCredentials
EncryptString
MgCryptographyManager
STRING MgCryptographyManager::EncryptString | ( | CREFSTRING | plainText | ) |
Encrypts a string. .NET Syntax
`string EncryptString(string plainText);`
Java Syntax
`String EncryptString(String plainText);`
PHP Syntax
`string EncryptString(string plainText);`
  Parameters:
  | plainText | (String/string) String to be encrypted.
  Returns: Returns the encrypted string. Exceptions:
  | MgNullArgumentException |
  | MgInvalidArgumentException |
  | MgLengthException |
  | MgEncryptionException |

Comments or suggestions? Send us feedback.