Ledger Nano X - The secure hardware wallet
SHARE
TWEET

matrix shift v3 Decoding

a guest Mar 28th, 2020 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. private static string MatrixDecrypt(string cryptogram, int[] key)
  2.         {
  3.             int[] revKey = new int[key.Length];
  4.  
  5.             for(int i=0; i<key.Length; i++)
  6.             {
  7.                 revKey[i] = (Array.IndexOf(key, i+1)+1);
  8.             }
  9.  
  10.             var decryptionStringList = Split(cryptogram, revKey.Length);
  11.             string plaintext = string.Empty;
  12.             foreach (string portion in decryptionStringList)
  13.             {
  14.                 plaintext += EncryptPortion(portion, revKey);
  15.             }
  16.             return plaintext;
  17.         }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top