Ledger Nano X - The secure hardware wallet
SHARE
TWEET

Untitled

a guest Jan 28th, 2014 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. foreach (char c in plainText.ToUpper())
  2. {
  3.     int idx = c - 'A';
  4.     if (idx >= 0 && idx < alphabet.Length)
  5.     {
  6.         encText += alphabet[Mod(idx + keyValue), 26)];
  7.     }
  8.     else
  9.     {
  10.         encText += c;
  11.     }
  12. }
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