Windows phone 8で暗号"DESede/ECB/PKCS5Padding"を使用して文字列を暗号化する方法を探しています。
Win8 RT とは異なり、SymmetricKeyAlgorithmProviderはありません。
ここで提案されているように、BounceCastle c# ライブラリを追加しようとしましたが、暗号 "DESede/ECB/" はなく、IV キーを使用した "DESede/CBC/" しかないようですが、IV キーなしの ECB が必要です。
任意の提案をいただければ幸いです。ありがとう :)
編集: BounceCastle ライブラリを使用したソリューション:
// DESEDE, not DESEDE/CBC!!!
var cipher = CipherUtilities.GetCipher("DESEDE");
byte[] byte_key = Encoding.UTF8.GetBytes(string_key);
var param_key = new DesEdeParameters(byte_key);
byte[] data = Encoding.UTF8.GetBytes(string_data);
cipher.Init(true, param_key);
var data_encrypted = cipher.DoFinal(data);