StringToByteArray() static private method

static private StringToByteArray ( string value ) : byte[]
value string
return byte[]
コード例 #1
0
 // Token: 0x0600044D RID: 1101 RVA: 0x0002FC58 File Offset: 0x0002DE58
 public void InitCipher(string passphrase)
 {
     byte[] array = SharedUtilities.StringToByteArray(passphrase);
     for (int i = 0; i < passphrase.Length; i++)
     {
         this.UpdateKeys(array[i]);
     }
 }
コード例 #2
0
ファイル: SharedUtilities.cs プロジェクト: zha0/Cerberus
 // Token: 0x0600033F RID: 831 RVA: 0x00018184 File Offset: 0x00016384
 internal static byte[] StringToByteArray(string value)
 {
     return(SharedUtilities.StringToByteArray(value, SharedUtilities.ibm437));
 }