Skip to content

EncryptionUtil

ClassAssetInventoryAssetInventory.Editor
public static class EncryptionUtil

No description is available for this type.

public static string Encrypt(string plainText)

Encrypts a string using AES encryption

Parameters

Name Type Description
plainText System.String The text to encrypt

Returns

System.String — Base64 encoded encrypted string

public static string Decrypt(string cipherText)

Decrypts a string that was encrypted using the Encrypt method

Parameters

Name Type Description
cipherText System.String Base64 encoded encrypted string

Returns

System.String — Decrypted plaintext string