
エントリーの編集

エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
Unity C# データを暗号化・復号化(AESとXOR) - Qiita
記事へのコメント0件
- 注目コメント
- 新着コメント
このエントリーにコメントしてみましょう。
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています

- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
Unity C# データを暗号化・復号化(AESとXOR) - Qiita
using System; using System.Collections; using System.Collections.Generic; using System.Security.C... using System; using System.Collections; using System.Collections.Generic; using System.Security.Cryptography; using System.Text; using UnityEngine; public class EncryptSample : MonoBehaviour { void Start() { // 保存データクラスをインスタンス化 var userData = new UserData() { name = "HOGE", age = 20 }; // クラスをJSON文字列に変換 string json = JsonUtility.ToJson(userData); // byte配列に変換 byte[] arr = System.Text.Encoding.UTF8