docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class AesStringObfuscator

    An IStringObfuscator implementation that uses AesCryptoServiceProvider encryption and decryption methods to obfuscate string values.

    Inheritance
    object
    AesStringObfuscator
    Implements
    IStringObfuscator
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Cloud.Common
    Assembly: Unity.Cloud.Common.dll
    Syntax
    public class AesStringObfuscator : IStringObfuscator

    Constructors

    AesStringObfuscator(string)

    Create a AesStringObfuscator that uses AesCryptoServiceProvider encryption and decryption methods to obfuscate string values.

    Declaration
    public AesStringObfuscator(string encodingKey)
    Parameters
    Type Name Description
    string encodingKey

    The encoding key for obfuscation.

    Methods

    Decrypt(string)

    Decrypts a string value.

    Declaration
    public string Decrypt(string value)
    Parameters
    Type Name Description
    string value

    The string to decrypt.

    Returns
    Type Description
    string

    The decrypted string.

    Encrypt(string)

    Encrypts a string value.

    Declaration
    public string Encrypt(string value)
    Parameters
    Type Name Description
    string value

    The string to encrypt.

    Returns
    Type Description
    string

    The encrypted string.

    Implements

    IStringObfuscator
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)