Exemple #1
0
 /// <summary>Encrypts the decrypted level string and returns its encrypted version.</summary>
 /// <param name="ls">The decrypted level string to encrypt.</param>
 /// <returns>The encrypted version of the provided level string.</returns>
 public static string GDLevelStringEncrypt(string ls)
 {
     byte[] compressed = GZipCompression.Compress(GeometryDashStringEncoding.GetBytes(ls)); // Compress
     return(Convert.ToBase64String(compressed).ConvertBase64ToBase64URL());
 }