docs.unity3d.com
    Show / Hide Table of Contents

    Class AesStringObfuscator

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

    Inheritance
    Object
    AesStringObfuscator
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.Cloud.Common
    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

    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.

    Implements
    IStringObfuscator.Decrypt(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.Encrypt(String)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023