Exemplo n.º 1
0
 public void InitCipher(string passphrase)
 {
     byte[] array = SharedUtilities.StringToByteArray(passphrase);
     for (int i = 0; i < passphrase.Length; i++)
     {
         this.UpdateKeys(array[i]);
     }
 }
Exemplo n.º 2
0
 internal static byte[] StringToByteArray(string value)
 {
     return(SharedUtilities.StringToByteArray(value, SharedUtilities.ibm437));
 }