No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Obfuscator.cs 977B

1234567891011121314151617181920212223
  1. using System;
  2. namespace UnityEngine.Purchasing.Security
  3. {
  4. /// <summary>
  5. /// Stub class to handle tangle files for platforms that do not support this feature.
  6. /// Will always throw an Exception if used.
  7. /// </summary>
  8. public static class Obfuscator
  9. {
  10. /// <summary>
  11. /// Deobfucscates tangle data.
  12. /// </summary>
  13. /// <param name="data"> The Apple or GooglePlay public key data to be deobfuscated. </param>
  14. /// <param name="order"> The array of the order of the data slices used to obfuscate the data when the tangle files were originally generated. </param>
  15. /// <param name="key"> The encryption key to deobfuscate the tangled data at runtime, previously generated with the tangle file. </param>
  16. /// <returns>The deobfucated public key</returns>
  17. public static byte[] DeObfuscate(byte[] data, int[] order, int key)
  18. {
  19. throw new NotImplementedException();
  20. }
  21. }
  22. }